[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/5] Revamp the parsing of symbol declarations
From: |
Akim Demaille |
Subject: |
[PATCH 0/5] Revamp the parsing of symbol declarations |
Date: |
Sun, 16 Dec 2018 10:45:36 +0100 |
Hi Rici,
I'm almost done with this issue (there remains to update the doc and
NEWS, more -Wyacc warnings). Please, tell me what you think about
this. Sorry it took so long; I lost a lot of time trying to factor
things in the parser, things that turned out to be very alike but
different.
I think I will introduce -Wstyle, to discourage things such as
defining token numbers in %left. TIMTOWTDI is not a good thing IMHO,
precedence/associativity sections should focus only on their main
topic.
Cheers!
Akim Demaille (5):
symbols: set tag_seen when assigning a type to symbols
symbols: clean up their parsing
regen
symbols: check the previous commit
symbols: check more invalid declarations
data/README | 9 +-
src/parse-gram.c | 1152 ++++++++++++++++++++++++-------------------
src/parse-gram.h | 40 +-
src/parse-gram.y | 187 ++++---
src/reader.c | 3 -
src/reader.h | 3 -
src/symlist.c | 9 +
src/symlist.h | 5 +
src/symtab.c | 14 +-
src/symtab.h | 2 +
tests/input.at | 120 ++++-
tests/regression.at | 4 +-
12 files changed, 946 insertions(+), 602 deletions(-)
--
2.19.2
- [PATCH 0/5] Revamp the parsing of symbol declarations,
Akim Demaille <=
- [PATCH 2/5] symbols: clean up their parsing, Akim Demaille, 2018/12/16
- [PATCH 4/5] symbols: check the previous commit, Akim Demaille, 2018/12/16
- [PATCH 5/5] symbols: check more invalid declarations, Akim Demaille, 2018/12/16
- [PATCH 1/5] symbols: set tag_seen when assigning a type to symbols, Akim Demaille, 2018/12/16
- Re: [PATCH 0/5] Revamp the parsing of symbol declarations, Akim Demaille, 2018/12/16