glr2.cc: log the execution of deferred actions
commitf30067ed51f23802fc91761ede1506dfa72b2865
authorAkim Demaille <akim.demaille@gmail.com>
Fri, 1 Jan 2021 19:24:15 +0000 (1 20:24 +0100)
committerAkim Demaille <akim.demaille@gmail.com>
Sat, 2 Jan 2021 12:02:19 +0000 (2 13:02 +0100)
tree1901388a2102c90b1b58e59249086abc76227193
parent630448ba6bbc7058e506d7544720857fbf5e35c8
glr2.cc: log the execution of deferred actions

See "glr.c: log the execution of deferred actions".

* data/skeletons/glr2.cc (yyuserAction): Take yyk as a new argument.
Rename argument yyn as yyrule for clarity.
Log before and after the user action.
Adjust callers to not call YY_REDUCE_PRINT and YY_SYMBOL_PRINT.
data/skeletons/glr2.cc