1 #line 7036 "../../doc/bison.texinfo"
2 #ifndef CALCXX_DRIVER_HH
3 # define CALCXX_DRIVER_HH
6 #line 7051 "../../doc/bison.texinfo"
7 // Forward declarations.
15 #line 7069 "../../doc/bison.texinfo"
16 // Announce to Flex the prototype we want for lexing function, ...
18 int yylex (YYSTYPE* yylval, yy::location* yylloc, calcxx_driver& driver)
19 // ... and declare it for the parser's sake.
21 #line 7082 "../../doc/bison.texinfo"
22 // Conducting the whole scanning and parsing of Calc++.
27 virtual ~calcxx_driver ();
29 std::map<std::string, int> variables;
32 #line 7101 "../../doc/bison.texinfo"
33 // Handling the scanner.
37 #line 7112 "../../doc/bison.texinfo"
38 // Handling the parser.
39 void parse (const std::string& f);
42 #line 7126 "../../doc/bison.texinfo"
44 void error (const yy::location& l, const std::string& m);
45 void error (const std::string& m);
47 #endif // ! CALCXX_DRIVER_HH