Hi Maury,
Another potential approach: Hook the lexer function.
Instead of embedding the counting directly into the bison grammar, you could do
the counting directly in the `yylex` function, as a wrapper around your actual
lexer.
That way, you can separate the “structural concerns” of your langu
Hi Jot,
skimming over your code, I couldn’t find anything particularly wrong or
suspicious…
If you could post a self-contained repro that would me to follow your steps and
maybe debug this in more depth.
In case it requires more than a few files, maybe you could upload your code to
Github and