]> git.draconx.ca Git - cdecl99.git/commit
libcdecl: Don't propagate specifier lists more than once.
authorNick Bowler <nbowler@draconx.ca>
Tue, 18 Jul 2023 02:20:07 +0000 (22:20 -0400)
committerNick Bowler <nbowler@draconx.ca>
Tue, 18 Jul 2023 02:20:07 +0000 (22:20 -0400)
commit7faacc8b3fbc810ec92faa0c38af5270e3bd1b4e
treee796ef94d3c818f96df90c63987c5e2c846f750b
parent9bbe3b9dc114473daf68153769495e6a4a50b7de
libcdecl: Don't propagate specifier lists more than once.

The very first thing the library does with the parse tree is normalize
the top-level specifiers, and then propagate the resulting list across
all top-level declarators.

So it is completely redundant for the parser itself to propagate the
un-normalized specifier list.
src/parse.y