diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2023-12-20 07:28:05 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2023-12-20 07:28:05 -0800 |
commit | d5e22852fe180de1feda1d340ad30a15d6b99043 (patch) | |
tree | d4fc37c863f8d8be92984617b8035db8f67cbdbb /tests/019 | |
parent | 8c68a36a88ec6fd056307b2eb13a3e8ab6eb0c42 (diff) | |
download | txr-d5e22852fe180de1feda1d340ad30a15d6b99043.tar.gz txr-d5e22852fe180de1feda1d340ad30a15d6b99043.tar.bz2 txr-d5e22852fe180de1feda1d340ad30a15d6b99043.zip |
json: support Lisp comments.
I've run into situations in which I wanted a comment in a
big JSON quasiliteral to explain some embedded piece of code.
We support only semicolon comments, and no #; ignore notation.
* parser.l (grammar): Recognize Lisp comments in the JSON
state also. That does it.
* tests/010/json.tl: One modest little test.
* txr.1: Documented.
* lex.yy.c.shipped: Regenerated.
Diffstat (limited to 'tests/019')
0 files changed, 0 insertions, 0 deletions