]> git.saurik.com Git - bison.git/commit - data/yacc.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:58:21 +0000 (01:58 -0500)
commit1694ac5cf22d96c57ef1fb8cf8f75de50135ef88
tree253c73d0c1b7fdf3ecbac4317834dbfdf54c0c9f
parentdfff6628178e75cc2d23ad574f14bc540249258c
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