]>
git.saurik.com Git - bison.git/blob - examples/calc++/calc++.cc
1 #line 7416 "../../doc/bison.texinfo"
3 #include "calc++-driver.hh"
6 main (int argc
, const char* argv
[])
9 for (++argv
; argv
[0]; ++argv
)
10 if (*argv
== std::string ("-p"))
11 driver
.trace_parsing
= true;
12 else if (*argv
== std::string ("-s"))
13 driver
.trace_scanning
= true;
17 std::cout
<< driver
.result
<< std::endl
;