On 29 Mar 2010, at 20:36, Domingo Alvarez Duarte wrote:

It seems that the problem derives from the reduce/reduce conflicts that some
modification to the grammar in the past could introduced.

For reduce/reduce conflicts, one has to generally rewrite the grammar or use the %glr feature (see the Bison manual).

There is a Yacc C++ grammar:
  http://www.parashift.com/c++-faq-lite/compiler-dependencies.html#faq-38.11
And one for C:
  http://www.quut.com/c/ANSI-C-grammar-y.html

So you might check them out. Also, there were some discussions recently about handling C++ ambiguities in the Usenet newsgroup comp.compilers.

  Hans




_______________________________________________
[email protected] http://lists.gnu.org/mailman/listinfo/help-bison

Reply via email to