[C2hs] patch applied (c2hs): Parse C99 compound statements with
mixed declarations and statements
Duncan Coutts
duncan.coutts at worc.ox.ac.uk
Fri Feb 23 05:53:09 EST 2007
Fri Feb 23 02:47:40 PST 2007 Duncan Coutts <duncan.coutts at worc.ox.ac.uk>
* Parse C99 compound statements with mixed declarations and statements
Rather than the K&R/C89 requirement that declarations precede statements.
The AST is now a list of eithers rather than two lists.
Note also that we're now saving and restoring the set of typedef'ed
identifiers as we enter and leave the scope of the compound statement.
M ./c2hs/c/CParser.y -15 +30
More information about the C2hs
mailing list