Removed trailing comma in channelNames for Python 2 & 3, JavaScript.
This commit is contained in:
parent
7b8ba3550b
commit
23f59ad99d
|
@ -829,7 +829,7 @@ function <lexer.name>(input) {
|
|||
<rest(lexer.modes):{m| <lexer.name>.<m> = <i>;}; separator="\n">
|
||||
|
||||
<endif>
|
||||
<lexer.name>.prototype.channelNames = [ "DEFAULT_TOKEN_CHANNEL", "HIDDEN", <lexer.channels:{c| "<c>"}; separator=", ", wrap, anchor> ];
|
||||
<lexer.name>.prototype.channelNames = [ "DEFAULT_TOKEN_CHANNEL", "HIDDEN"<if (lexer.channels)>, <lexer.channels:{c| "<c>"}; separator=", ", wrap, anchor><endif> ];
|
||||
|
||||
<lexer.name>.prototype.modeNames = [ <lexer.modes:{m| "<m>"}; separator=", ", wrap, anchor> ];
|
||||
|
||||
|
|
|
@ -766,7 +766,7 @@ class <lexer.name>(<if(superClass)><superClass><else>Lexer<endif>):
|
|||
<endif>
|
||||
<lexer.tokens:{k | <k> = <lexer.tokens.(k)>}; separator="\n", wrap, anchor>
|
||||
|
||||
channelNames = [ u"DEFAULT_TOKEN_CHANNEL", u"HIDDEN", <lexer.channels:{c| u"<c>"}; separator=", ", wrap, anchor> ]
|
||||
channelNames = [ u"DEFAULT_TOKEN_CHANNEL", u"HIDDEN"<if (lexer.channels)>, <lexer.channels:{c| u"<c>"}; separator=", ", wrap, anchor><endif> ]
|
||||
|
||||
modeNames = [ <lexer.modes:{m| u"<m>"}; separator=", ", wrap, anchor> ]
|
||||
|
||||
|
|
|
@ -771,7 +771,7 @@ class <lexer.name>(<if(superClass)><superClass><else>Lexer<endif>):
|
|||
<endif>
|
||||
<lexer.tokens:{k | <k> = <lexer.tokens.(k)>}; separator="\n", wrap, anchor>
|
||||
|
||||
channelNames = [ u"DEFAULT_TOKEN_CHANNEL", u"HIDDEN", <lexer.channels:{c| u"<c>"}; separator=", ", wrap, anchor> ]
|
||||
channelNames = [ u"DEFAULT_TOKEN_CHANNEL", u"HIDDEN"<if (lexer.channels)>, <lexer.channels:{c| u"<c>"}; separator=", ", wrap, anchor><endif> ]
|
||||
|
||||
modeNames = [ <lexer.modes:{m| "<m>"}; separator=", ", wrap, anchor> ]
|
||||
|
||||
|
|
Loading…
Reference in New Issue