Browse Source

[Php] goto is a thing now (closes #2316)

Simon Krajewski 11 years ago
parent
commit
329f73bd8c
1 changed files with 1 additions and 0 deletions
  1. 1 0
      genphp.ml

+ 1 - 0
genphp.ml

@@ -312,6 +312,7 @@ let is_keyword n =
 	| "unset" | "use" | "__function__" | "__class__" | "__method__" | "final"
 	| "php_user_filter" | "protected" | "abstract" | "__set" | "__get" | "__call"
 	| "clone" | "instanceof" | "break" | "case" | "class" | "continue" | "default" | "do" | "else" | "extends" | "for" | "function" | "if" | "new" | "return" | "static" | "switch" | "var" | "while" | "interface" | "implements" | "public" | "private" | "try" | "catch" | "throw" -> true
+	| "goto"
 	| _ -> false
 
 let s_ident n =