/* calculator.h Jeff Ondich, 5/30/10 Bison example, based on several found on-line, especially http://www.cs.ucr.edu/~lgao/teaching/calc/calc.y by Lan Gao. This header file makes a convenient place to put some #include statements and other things shared by various components of the bison calculator example. */ #define YY_NO_UNPUT using namespace std; #include #include #include int yyerror(char *s); int yyerror(const string& s); int yylex();