]> git.saurik.com Git - cycript.git/blobdiff - Parser.ypp.in
"new"."target" did not parse as it wasn't a token.
[cycript.git] / Parser.ypp.in
index cd605d51a84878c0a3c79df5054b68967f18892a..21db45037da31d2ddcd7708c46804b8df858a16a 100644 (file)
@@ -330,6 +330,7 @@ _finline int yylex(cy::parser::semantic_type *semantic, CYLocation *location, CY
 %token _return__ "!return"
 %token _super_ "super"
 %token _switch_ "switch"
+%token _target_ "target"
 %token _this_ "this"
 %token _throw_ "throw"
 %token _try_ "try"
@@ -849,6 +850,7 @@ IdentifierType
     | "public" { $$ = CYNew CYIdentifier("public"); }
     | "set" { $$ = CYNew CYIdentifier("set"); }
     | "synchronized" { $$ = CYNew CYIdentifier("synchronized"); }
+    | "target" { $$ = CYNew CYIdentifier("target"); }
     | "throws" { $$ = CYNew CYIdentifier("throws"); }
     | "transient" { $$ = CYNew CYIdentifier("transient"); }
     | "undefined" { $$ = CYNew CYIdentifier("undefined"); }