Skip to content

Commit

Permalink
Correct 65097f8 (Remove a development diagnostic from the Unicon comp…
Browse files Browse the repository at this point in the history
…iler).

The original fix assumed the output language from unigram.y was C, so it used
the C comment syntax to remove code. The actual output language is Unicon, so
the Unicon comment syntax must be used.
  • Loading branch information
Don-Ward committed Nov 15, 2024
1 parent 5d60cc9 commit 4d205ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uni/unicon/unigram.y
Original file line number Diff line number Diff line change
Expand Up @@ -846,7 +846,7 @@ neregex3: IDENT
$2.s := " " || $2.s
}
}
else { /* write("[ followed by ", type($2), " so not checking for space") */}
# else write("[ followed by ", type($2), " so not checking for space")
}
| LBRACK CARET brackchars RBRACK { $$ := node("notany", $1, $2, $3, $4) }
| BACKSLASH neregex { $$ := node("escape", $1, $2) }
Expand Down

0 comments on commit 4d205ca

Please sign in to comment.