Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(181)

Side by Side Diff: bison/src/bison/2.4.1/bison-2.4.1-src/examples/calc++/calc++.cc

Issue 10807020: Add native Windows binary for bison. (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/
Patch Set: Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 #line 8712 "../../doc/bison.texinfo"
2 #include <iostream>
3 #include "calc++-driver.hh"
4
5 int
6 main (int argc, char *argv[])
7 {
8 calcxx_driver driver;
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;
14 else if (!driver.parse (*argv))
15 std::cout << driver.result << std::endl;
16 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698