Browse Source

add "instanceof" as PHP keyword (fixed issue #833)

Simon Krajewski 13 years ago
parent
commit
ff401292c7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      genphp.ml

+ 1 - 1
genphp.ml

@@ -255,7 +255,7 @@ haxe reserved words that match php ones: break, case, class, continue, default,
 	| "include_once" | "isset" | "list" | "namespace" | "print" | "require" | "require_once"
 	| "include_once" | "isset" | "list" | "namespace" | "print" | "require" | "require_once"
 	| "unset" | "use" | "__function__" | "__class__" | "__method__" | "final"
 	| "unset" | "use" | "__function__" | "__class__" | "__method__" | "final"
 	| "php_user_filter" | "protected" | "abstract" | "__set" | "__get" | "__call"
 	| "php_user_filter" | "protected" | "abstract" | "__set" | "__get" | "__call"
-	| "clone" -> suf ^ n
+	| "clone" | "instanceof" -> suf ^ n
 	| _ -> n
 	| _ -> n
 
 
 let s_ident_local n =
 let s_ident_local n =