glr2.cc: use references to the stack rather than pointers
commit70b3c8fb20c484fb8e3fc2730ad41d199475bee7
authorAkim Demaille <akim.demaille@gmail.com>
Sun, 27 Dec 2020 07:50:10 +0000 (27 08:50 +0100)
committerAkim Demaille <akim.demaille@gmail.com>
Sun, 27 Dec 2020 07:50:10 +0000 (27 08:50 +0100)
tree010898f51aac3a22512f981e109ae45797b075d8
parente9b7641cca991e5205574149b7faad11e881a1cc
glr2.cc: use references to the stack rather than pointers

Now that the lookahead macros (that used yystackp) are out of the way,
there is no reason to continue using a pointer.

* data/skeletons/glr2.cc: Use yystack, a reference, rather that
yystackp, a pointer.
Fix tons of const-correctness issues.
data/skeletons/glr2.cc