forked from jasder/antlr
Added lexer channels enum to match Java target
This commit is contained in:
parent
6de938dbf7
commit
9fa56a4cd9
|
@ -51,6 +51,12 @@ public:
|
||||||
};
|
};
|
||||||
<endif>
|
<endif>
|
||||||
|
|
||||||
|
<if (lexer.channels)>
|
||||||
|
enum {
|
||||||
|
<lexer.channels: {k | <k> = <lexer.channels.(k)>}; separator=", ", wrap, anchor>
|
||||||
|
};
|
||||||
|
<endif>
|
||||||
|
|
||||||
<if (rest(lexer.modes))>
|
<if (rest(lexer.modes))>
|
||||||
enum {
|
enum {
|
||||||
<rest(lexer.modes): {m | <m> = <i>,}; separator="\n", anchor>
|
<rest(lexer.modes): {m | <m> = <i>,}; separator="\n", anchor>
|
||||||
|
|
Loading…
Reference in New Issue