Empty value incorrectly parsed as a syntax error #13
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Is parsed as a syntax error, but this is a valid declaration. Should it be an empty-string ValueName?
Oh wow, I did not know that. We could make
valueoptional in the rule forDeclaration. Would that work for you?I could work with that. Is that easier than allowing ValueName to be empty?
There's no real value name there, it's just a missing value entirely, so generating an empty node seems needlessly indirect.
Attached patch implements this.