Re: [RFA 2/3] Move filename extensions into language_defn

Yao Qi
2016-06-06T13:23:27Z

Tom Tromey <tom@tromey.com> writes:

> This moves filename extensions from a function in symfile.c out to
> each language_defn. I think this is an improvement because it means
> less digging around when writing a new language port.

Patch is good to me. Note that we can improve it further by moving
language related stuff out of symfile.c to language.c. Then, we can
remove filename_language_table in symfile.c, and use array languages in
language.c as a replacement.

--
Yao (齐尧)