help-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

calc++ example


From: lostbits
Subject: calc++ example
Date: Thu, 1 Jun 2023 18:49:25 -0700
User-agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.11.2

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]