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:44:52 +0000 (01:44 -0500)
commit874ac415b95e9c98ab33dec4b33755d989986261
tree455ee1b7eefc191e9955966f28e98c757ddccb2c
parent06caf0e144948affb940c323800a87c28dae467b
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.
(cherry picked from commit fcd32abd3a4b68ef525d7766dbed1c98465e23b9)
ChangeLog
data/yacc.c