Skip to content

Commit

Permalink
Merge pull request #463 from b3b00/bugfix/issue-cslycli-36
Browse files Browse the repository at this point in the history
  • Loading branch information
b3b00 authored Jul 16, 2024
2 parents 3dbfc3e + 548c1ce commit 12fee1d
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 12fee1d

Please sign in to comment.