projects
/
pspp-builds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4183dcc
)
q2c: Remove gettext.h #include from generated code.
author
Ben Pfaff
<blp@cs.stanford.edu>
Sat, 5 Nov 2011 19:59:46 +0000
(12:59 -0700)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Sun, 6 Nov 2011 16:19:23 +0000
(08:19 -0800)
The generated code no longer uses any of the gettext symbols.
src/language/lexer/q2c.c
patch
|
blob
|
history
diff --git
a/src/language/lexer/q2c.c
b/src/language/lexer/q2c.c
index bed0df599c9673b803ce4d50eef70478ede92e25..20bdd564969adf24c05caf83d82e5104cf1f3f9c 100644
(file)
--- a/
src/language/lexer/q2c.c
+++ b/
src/language/lexer/q2c.c
@@
-2049,10
+2049,6
@@
main (int argc, char *argv[])
dump (0, "#include \"gl/xalloc.h\"");
dump_blank_line (0);
-
- dump (0, "#include \"gettext.h\"");
- dump (0, "#define _(msgid) gettext (msgid)");
- dump_blank_line (0);
}
else if (!strcmp (directive, "declarations"))
dump_declarations ();