Skip to content

Instantly share code, notes, and snippets.

@KeenS
Created July 23, 2014 15:33
Show Gist options
  • Save KeenS/d0ede865e2efdd45e559 to your computer and use it in GitHub Desktop.
Save KeenS/d0ede865e2efdd45e559 to your computer and use it in GitHub Desktop.
diff --git a/src/org/mirah/tool/mirahc.mirah b/src/org/mirah/tool/mirahc.mirah
index 754008f..dcbe23e 100644
--- a/src/org/mirah/tool/mirahc.mirah
+++ b/src/org/mirah/tool/mirahc.mirah
@@ -31,12 +31,13 @@ class Mirahc < MirahTool
end
def self.main(args:String[]):void
- result = compile(args)
+ mirahc = Mirahc.new()
+ result = mirahc.compile(args)
System.exit(result)
end
- def self.compile(args: String[]): int
- mirahc = Mirahc.new()
- mirahc.compile(args)
- end
-end
\ No newline at end of file
+ # def self.compile(args: String[]): int
+ # mirahc = Mirahc.new()
+ # mirahc.compile(args)
+ # end
+end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment