diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2017-02-01 22:01:43 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2017-02-01 22:01:43 -0800 |
commit | 7326866a6348d62f1a49e604e0526c39ccdc842f (patch) | |
tree | 0a963ee64117dce7719b7d5c69766da8d4e727a5 /txr.vim | |
parent | db608e087727829c3d6f9b8f02942364bb941c5f (diff) | |
download | txr-7326866a6348d62f1a49e604e0526c39ccdc842f.tar.gz txr-7326866a6348d62f1a49e604e0526c39ccdc842f.tar.bz2 txr-7326866a6348d62f1a49e604e0526c39ccdc842f.zip |
parser: diagnose run-on symbols.
* parser.l (grammar): Add rules which capture two symbols
glued together, and diagnose as bad token. Of course a
legitimate symbol token can be divided into two that are glued
together. This rule is placed after the legitimate symbol
matching rule, so that if a token can be interpreted as a
single symbol token or as two, the first interpretation is
taken.
Diffstat (limited to 'txr.vim')
0 files changed, 0 insertions, 0 deletions