diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2020-04-10 08:02:55 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2020-04-10 08:02:55 -0700 |
commit | 40211feffd1af2164674b1b4aa01f38197f75336 (patch) | |
tree | e4850752601420a96817ebb263a2bd7eccc15811 /lib.h | |
parent | 1f92a0580ad9539f92ac788b92dd12bb7db171e1 (diff) | |
download | txr-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.h | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -340,7 +340,6 @@ union obj { struct list_accum { obj_t *head; obj_t *tail; - obj_t *dot; }; #if CONFIG_GEN_GC |