Update Java grammars to work with the C# target
This commit is contained in:
parent
a344c4e794
commit
c444758cb4
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue