ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/FeepingCreaturism/Jargon.cpp
(Generate patch)

Comparing FeepingCreaturism/Jargon.cpp (file contents):
Revision 229 by Douglas Thrift, 2004-09-06T16:50:13-07:00 vs.
Revision 256 by Douglas Thrift, 2004-09-17T16:37:49-07:00

# Line 7 | Line 7
7   #include "Jargon.hpp"
8   #include "Matcher.hpp"
9  
10 < Jargon::Jargon(const ext::String& path, bool include,
10 > #include <menes-ios/stdadapters.hpp>
11 >
12 > Jargon::Jargon(const ext::String& path, const ext::String& jargon, bool include,
13          const ext::String& relative) : include(include),
14          args(1, FeepingCreaturism::program)
15   {
16          args.push_back("-m");
17          args.push_back("-p");
18 +        args.push_back("jargon");
19 +        args.push_back("\"" + jargon + "\"");
20 +        args.push_back("-p");
21          args.push_back("include");
22          args.push_back(lexical_cast<ext::String>(include) + "()");
23  
# Line 23 | Line 28 | Jargon::Jargon(const ext::String& path,
28                  args.push_back("\"" + relative + "\"");
29          }
30  
31 <        args.push_back(path);
31 >        args.push_back(path + "/" + jargon);
32          args.push_back("jargon.xsl");
33   }
34  
# Line 51 | Line 56 | ios::PrintWriter& operator<<(ios::PrintW
56                          line.replace(position, 37, "");
57                  }
58  
59 <                pout << line << '\n';
59 >                pout << line << "\n";
60          }
61          while (pin.good());
62  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines