Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
b3b00 committed Jul 16, 2024
1 parent 3dbfc3e commit 548c1ce
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ public override SyntaxParseResult<IN> Parse(IList<Token<IN>> tokens, Rule<IN> ru
else
{
node = new SyntaxNode<IN>( nonTerminalName, children);
node.Name = rule.NodeName ?? nonTerminalName;
node.Name = string.IsNullOrEmpty(rule.NodeName) ? nonTerminalName : rule.NodeName;
node.ExpressionAffix = rule.ExpressionAffix;
node = ManageExpressionRules(rule, node);
result.Root = node;
Expand Down

0 comments on commit 548c1ce

Please sign in to comment.