]> git.saurik.com Git - bison.git/commit - data/lalr1.cc
YYLLOC_DEFAULT: factor, and don't export it in headers.
authorAkim Demaille <akim@lrde.epita.fr>
Wed, 4 Jul 2012 09:41:06 +0000 (11:41 +0200)
committerAkim Demaille <akim@lrde.epita.fr>
Wed, 4 Jul 2012 10:24:13 +0000 (12:24 +0200)
commit426903aa75c4c92c6953f1304ee24c16c600210e
tree17c23e418dba4e6c3b2e0078799088bd47f3249a
parent9104636b039b322fe29f64cc1546ecd94812ef46
YYLLOC_DEFAULT: factor, and don't export it in headers.

* data/c++.m4, data/c.m4 (b4_yylloc_default_define): New.
* data/glr.c, data/glr.cc, data/lalr1.cc, data/yacc.c: Use it.
* data/glr.cc: Do not define YYLLOC_DEFAULT in the header file,
but in the implementation one.
data/c++.m4
data/c.m4
data/glr.c
data/glr.cc
data/lalr1.cc
data/yacc.c