5bd0234249
This increases the number of shift/reduce conflicts, once again. I don't know why since the previous two grammar rules only differed in a single detail. One of them had a declaration_list while the other didn't. This difference is exactly what declaration_list_opt is for. Anyway, the tests for both cases (with and without declarations) work exactly as before. Merging this duplicate code will probably make it easier to fix the current limitation in lint regarding GCC compound expressions that a statement followed by a declaration generates a syntax error. Fixing this is not trivial, my first attempt failed either with segmentation faults or with sym->s_type becoming NOSPEC during the expression. |
||
---|---|---|
.. | ||
arch | ||
common | ||
lint1 | ||
lint2 | ||
llib | ||
xlint | ||
Makefile | ||
Makefile.inc |