cpp: add missing "finally" token, move ID Token to beginning of file
This commit is contained in:
@ -288,6 +288,7 @@ TOKEN :
|
||||
| < FALSETOK: "false" >
|
||||
| < THROW: "throw" >
|
||||
| < AT: "@" >
|
||||
| < FINALLY: "finally" >
|
||||
}
|
||||
|
||||
TOKEN [IGNORE_CASE] :
|
||||
@ -325,6 +326,12 @@ TOKEN :
|
||||
| < RSTRING : "R\"(" ( ~[")"] | ( ")" ~["\""] ) )* ")\"" >
|
||||
}
|
||||
|
||||
TOKEN :
|
||||
{
|
||||
< ID : ["$", "a"-"z","A"-"Z", "_"] (["a"-"z","A"-"Z","0"-"9","_","$"])* >
|
||||
}
|
||||
|
||||
|
||||
void translation_unit() :
|
||||
{}
|
||||
{
|
||||
@ -1561,10 +1568,4 @@ void exception_list() :
|
||||
type_name() ( "," type_name())*
|
||||
}
|
||||
|
||||
TOKEN :
|
||||
{
|
||||
< ID : ["$", "a"-"z","A"-"Z", "_"] (["a"-"z","A"-"Z","0"-"9","_","$"])* >
|
||||
}
|
||||
|
||||
|
||||
/*end*/
|
||||
|
Reference in New Issue
Block a user