Add of %source_extension and %header_extension which specify
authorAkim Demaille <akim@epita.fr>
Mon, 6 Aug 2001 08:51:41 +0000 (08:51 +0000)
committerAkim Demaille <akim@epita.fr>
Mon, 6 Aug 2001 08:51:41 +0000 (08:51 +0000)
commit7333d403168b95318108cd572d228881c82ff341
tree8da08ae9d48c9b4c516a173a1225dd18baf772c8
parent8416323152330d563fcf329a2b593ac479511b3b
Add of %source_extension and %header_extension which specify
the source or/and the header output file extension.
* src/files.c (compute_base_names): Remove initialisation of
src_extension and header_extension.
(compute_exts_from_gf): Update.
(compute_exts_from_src): Update.
(output_files): Update.
* src/reader.c (parse_header_extension_decl): New.
(parse_source_extension_decl): New.
(read_declarations): New case statements for the new tokens.
* src/lex.c (percent_table): Add entries for %source_extension
and %header_extension.
* src/lex.h (token_e): New tokens tok_hdrext and tok_srcext.
20 files changed:
ChangeLog
NEWS
po/de.gmo
po/de.po
po/es.po
po/et.gmo
po/et.po
po/fr.gmo
po/fr.po
po/ja.gmo
po/ja.po
po/nl.gmo
po/nl.po
po/ru.gmo
po/ru.po
src/files.c
src/files.h
src/lex.c
src/lex.h
src/reader.c