|Single quotation marks consumed incorrectly [message #1058806]
||Wed, 15 May 2013 03:55
| Claudio Heeg
Registered: April 2013
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.
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 03:57]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01840 seconds