|
I did not manage to create a (non-literal) verbatim string in a semantic action that ends with a backslash:
%start start
%%
start : { Console.WriteLine("abc\\"); }
;
This always results in a "Error: Literal string terminated by EOL" with gppg 1.4.5. Using any number of backslashes ("abc\", "abc\\\", etc.) doesn't change anything. However, @"abc\" works as expected.
Didn't I get the syntax right or is this a bug?
Thanks!
|