C++ Ambiguities
This grammar models a problematic part of the C++ grammar — the ambiguity between certain declarations and statements. For example,
int (x) = y+z;
parses as either an expr or a stmt.
SEE ALSO
http://www.gnu.org/software/bison/manual/html_mono/bison.html#GLR-Parsers
http://en.wikipedia.org/wiki/Significantly_Prettier_and_Easier_C%2B%2B_Syntax
http://www.csse.monash.edu.au/~damian/papers/PS/ModestProposal.ps
Edward Willink's "Meta-Compilation for C++" PhD thesis at http://www.computing.surrey.ac.uk/Research/CSRG/fog/FogThesis.pdf
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 40:
Non-ASCII character seen before =encoding in '—'. Assuming UTF-8