GNOME Bugzilla – Bug 739155
yacc syntax highlighting can't handle semantic values more than one digit long
Last modified: 2014-10-25 14:34:07 UTC
// test.y %% a : { $10 } In the example above, the entire $10 should be highlighted red, but only the $1 portion of it is.
Created attachment 289302 [details] [review] yacc.lang: handle multidigit semantic values A semantic value $n can have any number of digits. Highlight the entire value, not just the first digit.
Review of attachment 289302 [details] [review]: Looks good, but please provide an example in tests/syntax-highlighting/.
Created attachment 289312 [details] [review] yacc.lang: handle multidigit semantic values A semantic value $n can have any number of digits. Highlight the entire value, not just the first digit.
Review of attachment 289312 [details] [review]: Thanks.
Yay! Attachment 289312 [details] pushed as dcbb3a9 - yacc.lang: handle multidigit semantic values