Browse Source

Lua: allow lua to include files inline (similar to js)

Justin Donaldson 9 years ago
parent
commit
e8280a7bfa
1 changed files with 1 additions and 1 deletions
  1. 1 1
      std/haxe/macro/Compiler.hx

+ 1 - 1
std/haxe/macro/Compiler.hx

@@ -360,7 +360,7 @@ class Compiler {
 
 
 #end
 #end
 
 
-	#if (js || macro)
+	#if (js || lua || macro)
 	/**
 	/**
 		Embed a JavaScript file at compile time (can be called by `--macro` or within an `__init__` method).
 		Embed a JavaScript file at compile time (can be called by `--macro` or within an `__init__` method).
 	**/
 	**/