glr2.cc: pass location by const ref to yyglrShift
commitc18dbfcb06d8c61a0554ba7cfd54c70f5feff18a
authorAkim Demaille <akim.demaille@gmail.com>
Sat, 26 Dec 2020 10:46:23 +0000 (26 11:46 +0100)
committerAkim Demaille <akim.demaille@gmail.com>
Sat, 26 Dec 2020 13:26:23 +0000 (26 14:26 +0100)
tree37965d60b31e86cd64c037bde2da4731fbbdfdc8
parent94701b4e5e18b742191c1dd59c384cb011d3ea6e
glr2.cc: pass location by const ref to yyglrShift

* data/skeletons/glr2.cc (glr_state.yyglrShift): Take the location by
const&.
Remove useless `inline`.
data/skeletons/glr2.cc