diff --git a/src/sly/parser/generator/ExpressionRulesGenerator.cs b/src/sly/parser/generator/ExpressionRulesGenerator.cs index 711876c3..84f8c32c 100644 --- a/src/sly/parser/generator/ExpressionRulesGenerator.cs +++ b/src/sly/parser/generator/ExpressionRulesGenerator.cs @@ -129,7 +129,6 @@ private string GetOperandNonTerminal(Type parserClass, ParserConfiguration()) { result.AddError(new ParserInitializationError(ErrorLevel.FATAL, I18N.Instance.GetText(I18n,I18NMessage.MissingOperand),ErrorCodes.PARSER_MISSING_OPERAND)); - throw new Exception("missing [operand] attribute"); } string operandNonTerminalName = null;