Two useless/empty bison reductions removed.
commit14669c1ec92ba34e245385cf63376921b316a9d0
authorMihail Groza <unlupdestepa@gmail.com>
Thu, 26 Jan 2017 18:30:20 +0000 (26 18:30 +0000)
committerMihail Groza <unlupdestepa@gmail.com>
Thu, 26 Jan 2017 18:30:20 +0000 (26 18:30 +0000)
treed65ad5cc60c41ba72b7f14e37c8478f95aacf85a
parent483f85218f7c0bee824fc41f6456d0643a9e4fe5
Two useless/empty bison reductions removed.

The useless reductions corresponded to parameter declarator lists, and
were detected due to uselessness detection (by linters) from previous
commit, yet couldn't be removed then because removing them triggerred a
hidden bug (which I didn't want to fix in that commit). This fix
propperly handles the fuzzy logic of the parameter declaration style
(unknown, new or old).

This change decreaseases the number of reduce/reduce conflicts but
increases the number of shift/reduce ones (which is in line with bison's
manual urging for removal/minimization of reduce/reduce conflicts).
src/Headers/clabstract.h
src/cgrammar.y
src/clabstract.c