summary refs log tree commit diff
path: root/po/Makevars
diff options
context:
space:
mode:
authorLudovic Courtès2018-03-30 15:04:09 +0200
committerLudovic Courtès2018-03-30 15:42:50 +0200
commit6c7778dd9ec5e6cdc635238619dd18bfecfdf555 (patch)
treedf09548cc8d6185683d57e20ad0fcfb7479bc001 /po/Makevars
parentc3d1019b8f2d5af0637ae2f055099e51b9706675 (diff)
downloadskribilo-6c7778dd9ec5e6cdc635238619dd18bfecfdf555.tar.gz
skribilo-6c7778dd9ec5e6cdc635238619dd18bfecfdf555.tar.lz
skribilo-6c7778dd9ec5e6cdc635238619dd18bfecfdf555.zip
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 '_'.
Diffstat (limited to 'po/Makevars')
-rw-r--r--po/Makevars2
1 files changed, 1 insertions, 1 deletions
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