Hello Theo,
have you considered placing the code for the actions directly inside the
grammar's tokens and rules instead? You can just { make 123 } right in
the middle and it'll have the same effect as doing that in an action
method, but you'll be able to put code after it, too.HTH - Timo
