summaryrefslogtreecommitdiffstats
path: root/tests/012
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2017-04-02 22:25:54 -0700
committerKaz Kylheku <kaz@kylheku.com>2017-04-02 22:25:54 -0700
commitd160481d81707fb292b0398bb31bc00011ae7324 (patch)
treec141910bce5816fb8bbdd90a0abbcdf1f0005631 /tests/012
parent081073dd3ccffb4560ee24a02e97a5b4ac9539a5 (diff)
downloadtxr-d160481d81707fb292b0398bb31bc00011ae7324.tar.gz
txr-d160481d81707fb292b0398bb31bc00011ae7324.tar.bz2
txr-d160481d81707fb292b0398bb31bc00011ae7324.zip
parser: fix a...b syntax error.
This issue has implications mainly for read/print consistency. The (rcons a .b) expression prints a...b, but that doesn't read back. The reason is that the . on .b isn't preceded by whitespace, and so isn't the UREFDOT token recognized in a n_expr. It's just the '.' token which is a syntax error in that situation. * parser.y (n_expr): New special case rule to handle the phrase pattern n_expr DOTDOT '.' n_expr which is now a syntax error.
Diffstat (limited to 'tests/012')
0 files changed, 0 insertions, 0 deletions