parsers: rename YY_NULL as YY_NULLPTR to avoid conflicts with Flex
authorAkim Demaille <akim@lrde.epita.fr>
Fri, 8 Nov 2013 09:52:15 +0000 (10:52 +0100)
committerAkim Demaille <akim@lrde.epita.fr>
Fri, 8 Nov 2013 09:52:15 +0000 (10:52 +0100)
commit8d0b7cef7df7fead44b9574cee342de336008625
tree4ff89d2506603b4afc61ee10d5d65e749010b6f0
parentafc4457605a784879fa57435bf45521ad7513771
parsers: rename YY_NULL as YY_NULLPTR to avoid conflicts with Flex

Flex also defines YY_NULL (to 0).  Avoid gratuitous conflicts.

* data/c.m4 (b4_null_define): Rename YY_NULL as YY_NULLPTR.

* data/glr.c, data/lalr1.cc, data/location.cc, data/variant.hh,
* data/yacc.c, src/parse-gram.c, tests/actions.at, tests/c++.at,
* tests/cxx-type.at, tests/glr-regression.at, tests/headers.at,
* tests/push.at, tests/regression.at:
Adjust.
14 files changed:
data/c.m4
data/glr.c
data/lalr1.cc
data/location.cc
data/variant.hh
data/yacc.c
src/parse-gram.c
tests/actions.at
tests/c++.at
tests/cxx-type.at
tests/glr-regression.at
tests/headers.at
tests/push.at
tests/regression.at