Browse Source

[lua] add proper type for Ereg.FLAGS

Justin Donaldson 9 years ago
parent
commit
787580bb77
1 changed files with 1 additions and 1 deletions
  1. 1 1
      std/lua/_std/EReg.hx

+ 1 - 1
std/lua/_std/EReg.hx

@@ -32,7 +32,7 @@ class EReg {
 	var s : String; // the last matched string
 	var m : Table<Int,Int>; // the [start:Int, end:Int, and submatches:String (matched groups)] as a single table.
 
-	static var FLAGS = Rex.flags();
+	static var FLAGS : Table<String,Int> = Rex.flags();
 
 	public function new( r : String, opt : String ) : Void {
 		var ropt = 0;