Added new error INVALID_CHAR_SET.

This commit is contained in:
Ivan Kochurkin 2017-03-03 13:39:19 +03:00
parent 94ac8d4b4c
commit f6cda7f0ea
1 changed files with 11 additions and 0 deletions

View File

@ -931,6 +931,17 @@ public enum ErrorType {
* <p>custom channels are not supported in combined grammars</p>
*/
CHANNELS_BLOCK_IN_COMBINED_GRAMMAR(164, "custom channels are not supported in combined grammars", ErrorSeverity.ERROR),
/**
* Compiler Error 165.
*
* <p>charset range should have start and end</p>
*
* <pre>
* INVALID_RANGE_IN_CHAR_SET: [-z] | [a-] | [-]; // error 165
* </pre>
*
* */
INVALID_CHAR_SET(165, "invalid charset (range without start or end): <arg>", ErrorSeverity.ERROR),
NONCONFORMING_LR_RULE(169, "rule <arg> is left recursive but doesn't conform to a pattern ANTLR can handle", ErrorSeverity.ERROR),
/**