glr2.cc: reorganize the skeleton
commit2777b7316641691dc810ac5287df370b57a2d3d3
authorAkim Demaille <akim.demaille@gmail.com>
Sat, 26 Dec 2020 15:47:09 +0000 (26 16:47 +0100)
committerAkim Demaille <akim.demaille@gmail.com>
Sat, 26 Dec 2020 17:06:02 +0000 (26 18:06 +0100)
treeb21bf1857149f149aad3d1b65d68a22a864217c0
parent89296e39625eb8675ff9067f958d79fdd5dbccb5
glr2.cc: reorganize the skeleton

Restore a more natural order: first define the macros and then use
them.  Currently, some macros were defined between the moment the
header is issued, and then the implementation file.  As a result, it
was possible for the header and the implementation to not use the same
versions of the macros.

* data/skeletons/glr2.cc: Define the macros first, then use them.
* data/skeletons/lalr1.cc: Minor comment and quoting changes.
data/skeletons/glr2.cc
data/skeletons/lalr1.cc