]> git.ipfire.org Git - thirdparty/gettext.git/commit
xgettext: Scheme: Understand both '-L Scheme' and '-L Guile'.
authorBruno Haible <bruno@clisp.org>
Fri, 16 Aug 2024 19:05:47 +0000 (21:05 +0200)
committerBruno Haible <bruno@clisp.org>
Fri, 16 Aug 2024 19:05:47 +0000 (21:05 +0200)
commitee7dfc338f8ad53d416f7935a914d5cdf7bc5ed0
tree244304836b8875caca13ffed5a20acb5ca5cd193
parent5345735f89a8ee8dd5d2c9b475b96528d932f49d
xgettext: Scheme: Understand both '-L Scheme' and '-L Guile'.

* gettext-tools/src/x-scheme.h (EXTENSIONS_SCHEME): Associate the language
Guile, not Scheme, with the extension .scm.
(SCANNERS_SCHEME): Add info about the 'Guile' language.
(extract_guile): New declaration.
* gettext-tools/src/x-scheme.c (follow_guile): New variable.
(extract_whole_file): Renamed from extract_scheme.
(extract_scheme, extract_guile): New functions.
* gettext-tools/src/xgettext.c (usage): List Guile as a possible argument for
the '-L' option.
* gettext-tools/doc/xgettext.texi: Document 'Guile' as possible argument for
the '-L' option.
* gettext-tools/doc/lang-scheme.texi (Scheme): Explain the difference between
'-L Scheme' and '-L Guile'.
* NEWS: Mention the change.
NEWS
gettext-tools/doc/lang-scheme.texi
gettext-tools/doc/xgettext.texi
gettext-tools/src/x-scheme.c
gettext-tools/src/x-scheme.h
gettext-tools/src/xgettext.c