summaryrefslogtreecommitdiffstats
path: root/lisplib.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2021-04-08 17:45:33 -0700
committerKaz Kylheku <kaz@kylheku.com>2021-04-08 17:45:33 -0700
commitfb07c84eeaeda96eac369ff763dd9c1c5b5ee0fb (patch)
tree7ad5d07054a5cc79fc418b2b6c7e3f2aa6a125ba /lisplib.c
parente0e3115ae78c2c6f59bb279b69fbf6f1f32c0be5 (diff)
downloadtxr-fb07c84eeaeda96eac369ff763dd9c1c5b5ee0fb.tar.gz
txr-fb07c84eeaeda96eac369ff763dd9c1c5b5ee0fb.tar.bz2
txr-fb07c84eeaeda96eac369ff763dd9c1c5b5ee0fb.zip
parser: fix poor diagnosis of \x invalid escape.
* parser.l (grammar): Because the \x pattern requires one or more digits after it, if they are not present, we simply report \x as an an unrecognized escape. It's better if we diagnose it properly as a \x that is not followed by digits.
Diffstat (limited to 'lisplib.c')
0 files changed, 0 insertions, 0 deletions