Skip to content

Commit

Permalink
Update ExpressionRulesGenerator.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
b3b00 authored Jul 16, 2024
1 parent b0b2b50 commit 7b636c4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/sly/parser/generator/ExpressionRulesGenerator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@ private string GetOperandNonTerminal(Type parserClass, ParserConfiguration<IN,OU
if (!operandMethods.Any<MethodInfo>())
{
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;
Expand Down

0 comments on commit 7b636c4

Please sign in to comment.