Paul Eggert writes:
OK, but why can't you use the token name '\drums' instead of 'DRUMS'? E.g., something like this:
> %token DRUMS "\\drums"
I'll look into this. Still, we have tokens like 'new_lyrics', 'directionless_char', and sequences like STRING, string, simple_string.
... it's only for error reporting, as far as my wishes go.
If one writes as Paul suggested, two things happens: "\\drums" will be used in error messages. And further, "\\drums" can be used in the grammar. I think there is a suggestion to improve error messages output even further, not having this coupling of the two uses.
--
Hans Aberg
