Parcourir la source

added "print" keyword (issue #187)

Nicolas Cannasse il y a 15 ans
Parent
commit
2a5115c5ca
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      genas3.ml

+ 2 - 0
genas3.ml

@@ -82,6 +82,8 @@ let reserved =
 	["is";"as";"int";"uint";"const";"getTimer";"typeof";"parseInt";"parseFloat";
 	(* AS3 keywords which are not haXe ones *)
 	"each";"label";"finally";"with";"final";"internal";"native";"const";"namespace";"include";"delete";
+	(* some globals give some errors with Flex SDK as well *)
+	"print";
 	(* we don't include get+set since they are not 'real' keywords, but they can't be used as method names *)
 	];
 	h