diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2021-06-03 07:32:42 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2021-06-03 07:32:42 -0700 |
commit | c12f969791bec0b2d6e985193c67b1f79db99ccc (patch) | |
tree | f6ea8571a540b5dd8d6d1c920d329312f1b15969 /struct.c | |
parent | 2749a5ace7f404dae2eeb8c94c9290af16eee234 (diff) | |
download | txr-c12f969791bec0b2d6e985193c67b1f79db99ccc.tar.gz txr-c12f969791bec0b2d6e985193c67b1f79db99ccc.tar.bz2 txr-c12f969791bec0b2d6e985193c67b1f79db99ccc.zip |
json: pattern matching test cases and bugfix.
* parser.y (json_val): We must nreverse the json_pairs which
were pushed in right to left order. This didn't matter for
constructing hashes so it was left out, but under quasiquoting
the order matters: it determines the order of evaluation and
of pattern matching.
* tests/011/patmatch.tl: New quasiquoting pattern matching
cases, including JSON.
* y.tab.c.shipped: Regenerated.
Diffstat (limited to 'struct.c')
0 files changed, 0 insertions, 0 deletions