Added lexer channels enum to match Java target

This commit is contained in:
Nathan Burles 2016-07-07 14:04:01 +01:00
parent 6de938dbf7
commit 9fa56a4cd9
1 changed files with 6 additions and 0 deletions

View File

@ -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>