On 26 Feb 2007, at 02:02, Bob Rossi wrote:
Does file OutGrammar.h have '#include <string>' in it?
No, it does not. OutGrammar.h is generated from the %union in the
OutGrammar.y file. I figured out that if I changed the lexer file from
Lexer.l to Lexer.ll that it generates Lexer.cc instead of Lexer.c.
This solves my problem.
I think the normal thing would be to have '#include <string>'
somewhere in the code parts of the Flex (.l) or Bison (.y) input files.
Hans Aberg
_______________________________________________
help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison