]> git.saurik.com Git - bison.git/commit
Simplify y.tab.c when location tracking is disabled.
authorJonathan Nieder <jrnieder@gmail.com>
Wed, 16 Dec 2009 04:07:46 +0000 (22:07 -0600)
committerJoel E. Denny <jdenny@clemson.edu>
Wed, 16 Dec 2009 06:21:31 +0000 (01:21 -0500)
commitfcd32abd3a4b68ef525d7766dbed1c98465e23b9
tree2a74bf0ed1bab2c1b6b592e64fb6d71f477be48b
parentae93128c9671b58bdc2b557c382ecd84e659ab52
Simplify y.tab.c when location tracking is disabled.

* data/yacc.c: Do not check YYLTYPE_IS_TRIVIAL if location
tracking is not enabled.  Instead, unconditionally define
YY_LOCATION_PRINT as a no-op for backward compatibility.
ChangeLog
data/yacc.c