]> git.saurik.com Git - bison.git/commit - data/glr.c
Avoid warnings from gcc -Wundef y.tab.c.
authorJonathan Nieder <jrnieder@gmail.com>
Wed, 16 Dec 2009 04:03:18 +0000 (22:03 -0600)
committerJoel E. Denny <jdenny@clemson.edu>
Wed, 16 Dec 2009 06:44:42 +0000 (01:44 -0500)
commit06caf0e144948affb940c323800a87c28dae467b
treec1a389387966d44ecaa77c57cf5a64edca648bbc
parent687f011aa9d618020b753201edcf1ebd2be2c443
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 ae93128c9671b58bdc2b557c382ecd84e659ab52)
ChangeLog
data/glr.c
data/lalr1.cc
data/yacc.c