summaryrefslogtreecommitdiffstats
path: root/stdlib/compiler.tl
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2022-01-10 23:52:28 -0800
committerKaz Kylheku <kaz@kylheku.com>2022-01-10 23:52:28 -0800
commit87012c150b5ee13a1faa32b609a4c8d315fd1e30 (patch)
tree8d37da3ce705fd052232047614f1b88f45391d37 /stdlib/compiler.tl
parentfcffdae39e903260e1b23be56fd02bd11c695374 (diff)
downloadtxr-87012c150b5ee13a1faa32b609a4c8d315fd1e30.tar.gz
txr-87012c150b5ee13a1faa32b609a4c8d315fd1e30.tar.bz2
txr-87012c150b5ee13a1faa32b609a4c8d315fd1e30.zip
parser: bug: carriage returns in JSON causing errors.
* parser.l (NJPUNC): This inverted class lexical category must exclude the carriage return character \r, otherwise it matches it. The JSON keywords true, false and null are recognized as sequences of NJPUNC. If we don't exclude \r from NJPUNC, it looks like a symbol constituent, comprising an unrecognized JSON keyword. * lex.yy.c.shipped: Updated.
Diffstat (limited to 'stdlib/compiler.tl')
0 files changed, 0 insertions, 0 deletions