c++: more YY_NULL
authorAkim Demaille <akim@lrde.epita.fr>
Sun, 1 Apr 2012 11:15:41 +0000 (13:15 +0200)
committerAkim Demaille <akim@lrde.epita.fr>
Sun, 1 Apr 2012 12:02:27 +0000 (14:02 +0200)
commit6557bcce8b9265a2a486f197beb613d86a1a0914
treeaadc3edd803894156da9977521d307f5fee4b752
parent681dda24bab97297d43a09fb50f95110b790c3ce
c++: more YY_NULL

Caught by maintainer-check-g++.
* data/glr.c, data/lalr1.cc, data/yacc.c, tests/cxx-type.at,
* tests/glr-regression.at, tests/push.at:
When simple to do, avoid expliciting the null ptr.
Otherwise use YY_NULL.
(cherry picked from commit eeaf1dc646048e464d97f6a572b8894632e6e47a)

Conflicts:

data/glr.c
data/lalr1.cc
tests/cxx-type.at
data/yacc.c
tests/cxx-type.at
tests/glr-regression.at
tests/push.at