aboutsummaryrefslogtreecommitdiff
path: root/plugins/syntax
diff options
context:
space:
mode:
authorHugo Herbelin2015-11-26 19:05:25 +0100
committerHugo Herbelin2015-11-26 19:13:13 +0100
commit982460743a54ecfab1d601ba930d61c04972d17a (patch)
tree92c2527ce3f57556df6527a11e5e3351b316f73f /plugins/syntax
parent11ccb7333c2a82d59736027838acaea2237e2402 (diff)
Fixing the "parsing rules with idents later declared as keywords" problem.
The fix was actually elementary. The lexer comes with a function to compare parsed tokens against tokens of the parsing rules. It is enough to have this function considering an ident in a parsing rule to be equal to the corresponding string parsed as a keyword.
Diffstat (limited to 'plugins/syntax')
0 files changed, 0 insertions, 0 deletions