Project

General

Profile

PtParser.jjt.patch

Derik Barseghian, 12/20/2012 07:01 PM

View differences:

PtParser.jjt (working copy)
555 555

  
556 556
< DEFAULT, StringModeIDBrace, StringModeIDParen > TOKEN : /* Function names */
557 557
{
558
    < ID: ( <LETTER> )+ (["0"-"9", "$", "@"] | <LETTER> | "::")* >
559
  | 	< #LETTER: ["a"-"z", "A"-"Z", "_"] > 		
560
} 
558
    < ID: (<LETTER> | <NUMBER>)+ (["0"-"9", "$", "@"] | <LETTER> | "::")* | (<LETTER> | <NUMBER>)+ (( " " )+ (["0"-"9", "$", "@"] | <LETTER> | "::")+)* >
559
  | 	< #LETTER: ["a"-"z", "A"-"Z", "_"] >
560
  |     < #NUMBER: ["0"-"9"] > 
561
}
561 562

  
562 563
TOKEN : /* literal strings are given using single or double quotes. */
563 564
{