Skip to content

Commit

Permalink
Okay, really, 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dkitchin committed Sep 10, 2009
1 parent 10879f1 commit 8637851
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Orchard/src/orc/orchard/AbstractCompilerService.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ public Oil compile(String devKey, String program) throws InvalidProgramException
config.setIncludePath("");
// Include sites specifically for orchard services
config.addInclude("orchard.inc");
orc.ast.oil.expression.Expression ex1 = Orc.compile(new StringReader(program), config);
config.inputFromString(program);
orc.ast.oil.expression.Expression ex1 = Orc.compile(config);
if (ex1 == null) {
// FIXME: obviously need more detail here
throw new InvalidProgramException("Syntax error in: " + program);
Expand Down

0 comments on commit 8637851

Please sign in to comment.