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 224 by Douglas Thrift, 2004-09-06T02:13:51-07:00 vs.
Revision 225 by Douglas Thrift, 2004-09-06T04:03:48-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 > Jargon::Jargon(const ext::String& path, bool include, const ext::String& relative)
11   {
12          std::vector<std::string> args(1, FeepingCreaturism::program);
13  
14          args.push_back("-p");
15          args.push_back("include");
16          args.push_back(lexical_cast<ext::String>(include) + "()");
17 +
18 +        if (!relative.IsEmpty())
19 +        {
20 +                args.push_back("-p");
21 +                args.push_back("relative");
22 +                args.push_back("\"" + relative + "\"");
23 +        }
24 +
25          args.push_back(path);
26          args.push_back("jargon.xsl");
27  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines