From 6c7778dd9ec5e6cdc635238619dd18bfecfdf555 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Fri, 30 Mar 2018 15:04:09 +0200 Subject: syntax: Rename '_' to 'G_' to avoid issues on Guile 2.2. Failing to do that, literal '_' would not match in contexts such as 'match' patterns on Guile 2.2. * src/guile/skribilo/utils/syntax.scm (_): Rename to... (G_): ... this. * po/Makevars (XGETTEXT_OPTIONS): Adjust accordingly. * src/guile/skribilo.scm, src/guile/skribilo/ast.scm, src/guile/skribilo/biblio.scm, src/guile/skribilo/biblio/author.scm, src/guile/skribilo/condition.scm, src/guile/skribilo/engine.scm, src/guile/skribilo/engine/info.scm, src/guile/skribilo/engine/lout.scm, src/guile/skribilo/index.scm, src/guile/skribilo/package/base.scm, src/guile/skribilo/package/lncs.scm, src/guile/skribilo/reader/rss-2.scm, src/guile/skribilo/source.scm, src/guile/skribilo/sui.scm, src/guile/skribilo/biblio/template.scm, src/guile/skribilo/verify.scm: Use 'G_' instead of '_'. --- po/Makevars | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'po/Makevars') diff --git a/po/Makevars b/po/Makevars index 2674e7b..d086d7a 100644 --- a/po/Makevars +++ b/po/Makevars @@ -11,7 +11,7 @@ top_builddir = .. # Use '--no-wrap' because that is what the TP uses. XGETTEXT_OPTIONS = \ --no-wrap \ - --keyword=_ --keyword=N_ --language=Scheme + --keyword=G_ --keyword=N_ --language=Scheme # This is the copyright holder that gets inserted into the header of the # $(DOMAIN).pot file. Set this to the copyright holder of the surrounding -- cgit v1.2.3