Fixed compiler error on haxe < 4.2
This commit is contained in:
parent
a9dc050935
commit
34ef9df8c2
@ -58,7 +58,7 @@ class Main{
|
|||||||
|
|
||||||
// Look at switch contents
|
// Look at switch contents
|
||||||
if(_switches.contains("-v")){
|
if(_switches.contains("-v")){
|
||||||
Sys.println('version: ${haxe.macro.Compiler.getDefine("version");}');
|
Sys.println('version: ${haxe.macro.Compiler.getDefine("version")}');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if(_switches.contains("-t")){
|
if(_switches.contains("-t")){
|
||||||
@ -114,7 +114,7 @@ class Main{
|
|||||||
|
|
||||||
static function usage():Void
|
static function usage():Void
|
||||||
{
|
{
|
||||||
Sys.println('Usage: ${haxe.macro.Compiler.getDefine("HAXE_OUTPUT_FILE");} [OPTION] [FILE]...');
|
Sys.println('Usage: ${haxe.macro.Compiler.getDefine("HAXE_OUTPUT_FILE")} [OPTION] [FILE]...');
|
||||||
Sys.println("Safely runs rm -rf with a confirm prompt so you don´t make an oopsie.");
|
Sys.println("Safely runs rm -rf with a confirm prompt so you don´t make an oopsie.");
|
||||||
Sys.println("");
|
Sys.println("");
|
||||||
Sys.println("Available OPTIONS:");
|
Sys.println("Available OPTIONS:");
|
||||||
@ -135,4 +135,4 @@ class Main{
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user