Single quotation marks consumed incorrectly [message #1058806] |
Wed, 15 May 2013 07:55 |
Claudio Heeg Messages: 75 Registered: April 2013 |
Member |
|
|
Hello, following problem:
I'm in the process of defining a grammar.
One concrete function should look as follows:
However, currently only
(note the whitespace) and
seem to work.
Trying the function as it should be produces the error <mismatched input ','' expecting ','> at the comma.
However, I can't seem to find the error in my grammar that would cause this.
Func: 'Func''('something=String_Encap_IntParam','sthElse=String_Encap_IntParam')';
..
String_Encap_IntParam : STRING_ENCAP_INT;
terminal STRING_ENCAP_INT : '"' INT '"' | "'" INT "'";
I do not have any terminals or Datatypes defined that involve the sequence ",'" either, so I'm at a loss here, especially since a simple whitespace makes the function work.
Help is much appreciated.
[Updated on: Wed, 15 May 2013 07:57] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.07270 seconds