The branch make-glr-symbol provides support for variants in glr.cc. It is far from being mature (actually, it might never be: glr.cc should be rewritten from scratch in C++ instead of wrapping glr.c). Yet there are some changes there of general interest. Some of these changes, especially in the variant code, might help Th??ophile on his current work. That's why I push these now.
Akim Demaille (9): %define variables: backward compatibility glr.c: move function declaration earlier glr: rename lex params glr.cc: simplifying the handling of parse/lex params yacc.c: style changes skeletons: fix output directives gnulib: update variant: more assertions variants: prohibit simple copies THANKS | 1 + data/c++.m4 | 13 ++++++++ data/glr.c | 27 ++++++++------- data/glr.cc | 26 ++++++++------- data/lalr1.cc | 15 ++++----- data/location.cc | 2 -- data/variant.hh | 100 +++++++++++++++++++++++++++++++++++++++++-------------- data/yacc.c | 4 +-- gnulib | 2 +- lib/.gitignore | 6 ++++ src/muscle-tab.c | 1 + 11 files changed, 135 insertions(+), 62 deletions(-) -- 1.8.0.2
