Re: [RFA 1/3] Use VEC for filename_language_table

Yao Qi
2016-06-06T13:06:28Z

Tom Tromey <tom@tromey.com> writes:

> 2016-06-04 Tom Tromey <tom@tromey.com>
>
> * symfile.c (filename_language_table): Now a VEC.
> (fl_table_size, fl_table_next): Remove.
> (add_filename_language): Use VEC_safe_push.
> (set_ext_lang_command, info_ext_lang_command)
> (deduce_language_from_filename): Use VEC_iterate.
> (init_filename_language_table): Use VEC_empty.

Looks good to me.

--
Yao (齐尧)