ppgen can't handle case-insensitive literals
It seems ppgen can’t handle case-insensitive literals like ‘foo’. An example:
module languages/boo/Booimports Common
exports sorts Start A
context-free syntax
‘foo’ -> Start {cons(“Start”)}
Xy.generated.pp:
[
Start – _1,
Start.1:ci-lit – _1,
Start.1:ci-lit.1:“foo” – // error: *)
]
*) Multiple messages:
Syntax error, ‘"’ not expected here
Syntax error, ‘"’ not expected here
(Needs to be confirmed.)
(Based on the report by Otto Hausbacher in Spoofax/229.)
Submitted by Lennart Kats on 16 August 2010 at 16:17
Log in to post comments