diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2022-01-10 23:52:28 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2022-01-10 23:52:28 -0800 |
commit | e2e4c5a3de3a948054f58c9ba5e8ce14ce02a94a (patch) | |
tree | 8d37da3ce705fd052232047614f1b88f45391d37 /syslog.c | |
parent | 15a45c00d9d8acaaa6e4eb43f553243230760c54 (diff) | |
download | txr-e2e4c5a3de3a948054f58c9ba5e8ce14ce02a94a.tar.gz txr-e2e4c5a3de3a948054f58c9ba5e8ce14ce02a94a.tar.bz2 txr-e2e4c5a3de3a948054f58c9ba5e8ce14ce02a94a.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 'syslog.c')
0 files changed, 0 insertions, 0 deletions