Currently I hack around this by pushing a special Unicode character into the input stream via an initial %epsilon: this hack-character would thus end up at input index -1. %initial-action is way cleaner when you want to accomplish the same or similar.
Cf. https://www.gnu.org/software/bison/manual/html_node/Initial-Action-Decl.html#Initial-Action-Decl
Currently I hack around this by pushing a special Unicode character into the input stream via an initial
%epsilon
: this hack-character would thus end up at input index -1.%initial-action
is way cleaner when you want to accomplish the same or similar.