Skip to content

Commit

Permalink
add some defines to make it through the std files
Browse files Browse the repository at this point in the history
  • Loading branch information
Simn committed Feb 29, 2016
1 parent e56f02d commit 6776c7b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/TestStd.hx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ class TestStd extends haxe.unit.TestCase {
try {
hxparse.Utils.catchErrors(input, function() {
var parser = new haxeparser.HaxeParser(input, path);
parser.define("cross");
parser.define("scriptable");
parser.define("unsafe");
try {
parser.parse();
} catch(e:haxeparser.HaxeParser.ParserError) {
Expand Down

0 comments on commit 6776c7b

Please sign in to comment.