calc++ example
lostbits <[email protected]> Thu, 1 Jun 2023 18:49:25 -0700
| Newsgroups | gmane.comp.parsers.bison.general |
|---|---|
| Message-ID | <[email protected]> |
bison v3.8.2 Win 7/10-x64 Driver.hh has class "driver" defined with scan_begin() and scan_end() defined but Driver.cc doesn't have the body for these functions. Are these functions defined? Also in driver::parse (const std::string &f). "parse.set_debug_level (trace_parsing);" is executed after the parser is executed, shouldn't if be executed before the parser executes? The include file "Parser.hh" has a class called "parser", shouldn't the "parse.set_debug_level (trace_parsing);" be "parser.set_debug_level (trace_parsing);"? And where is the body for "set_debug_level (trace_parsing);" ? And in the folder "calc++" there is no parser.hh, parser.cc file, scanner.hh or scanner.cc. How can I keep them after the make? thanks art