Update Java grammars to work with the C# target

This commit is contained in:
Sam Harwell 2013-02-25 11:34:19 -06:00
parent a344c4e794
commit c444758cb4
2 changed files with 16 additions and 4 deletions

View File

@ -171,8 +171,14 @@
grammar Java;
@lexer::members {
protected boolean enumIsKeyword = true;
protected boolean assertIsKeyword = true;
protected const int EOF = Eof;
protected const int HIDDEN = Hidden;
protected bool enumIsKeyword = true;
protected bool assertIsKeyword = true;
}
@parser::members {
protected const int EOF = Eof;
}
// starting point for parsing a java file

View File

@ -168,8 +168,14 @@
grammar Java;
@lexer::members {
protected boolean enumIsKeyword = true;
protected boolean assertIsKeyword = true;
protected const int EOF = Eof;
protected const int HIDDEN = Hidden;
protected bool enumIsKeyword = true;
protected bool assertIsKeyword = true;
}
@parser::members {
protected const int EOF = Eof;
}
// starting point for parsing a java file