summaryrefslogtreecommitdiffstats
path: root/lib.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2020-04-10 08:02:55 -0700
committerKaz Kylheku <kaz@kylheku.com>2020-04-10 08:02:55 -0700
commit40211feffd1af2164674b1b4aa01f38197f75336 (patch)
treee4850752601420a96817ebb263a2bd7eccc15811 /lib.h
parent1f92a0580ad9539f92ac788b92dd12bb7db171e1 (diff)
downloadtxr-40211feffd1af2164674b1b4aa01f38197f75336.tar.gz
txr-40211feffd1af2164674b1b4aa01f38197f75336.tar.bz2
txr-40211feffd1af2164674b1b4aa01f38197f75336.zip
parser: move cons dot handling to higher rule.
* lib.h (struct list_accum): dot member removed. * parser.y (misplaced_consing_dot_check): Function removed. The misplaced consing dot diagnostic is still provided as before by yybadtoken. (n_exprs): Production for CONSDOT is moved here out of listacc. There is no $1.dot member to deal with; the dot is very simply handled here. (listacc): Remove calls to misplaced_consing_dot_check. CONSDOT production moved to n_exprs. (lacc, splacc): Remove initialization of dot member.
Diffstat (limited to 'lib.h')
-rw-r--r--lib.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib.h b/lib.h
index 708b6724..9002fd11 100644
--- a/lib.h
+++ b/lib.h
@@ -340,7 +340,6 @@ union obj {
struct list_accum {
obj_t *head;
obj_t *tail;
- obj_t *dot;
};
#if CONFIG_GEN_GC