Avoid warnings from gcc -Wundef y.tab.c.

* data/glr.c: Check if YYENABLE_NLS and YYLTYPE_IS_TRIVIAL are
defined before using them.
* data/lalr1.cc: Likewise.
* data/yacc.c: Likewise.
(cherry picked from commit ae93128c96)
This commit is contained in:
Jonathan Nieder
2009-12-15 22:03:18 -06:00
committed by Joel E. Denny
parent dfff662817
commit 1694ac5cf2
4 changed files with 14 additions and 6 deletions

View File

@@ -1,3 +1,11 @@
2009-12-15 Jonathan Nieder <jrnieder@gmail.com> (tiny change)
Avoid warnings from gcc -Wundef y.tab.c.
* data/glr.c: Check if YYENABLE_NLS and YYLTYPE_IS_TRIVIAL are
defined before using them.
* data/lalr1.cc: Likewise.
* data/yacc.c: Likewise.
2009-12-15 Joel E. Denny <jdenny@clemson.edu>
Import M4 detection fix from Autoconf.