]> git.saurik.com Git - cycript.git/blobdiff - Cycript.l.in
Add support for ECMA6 for-of iteration statements.
[cycript.git] / Cycript.l.in
index a599ed9f5bbba3ff7abc6ce2ba18d26c586a775c..d71411088fcea020526b3ecac2725f4e2d925e54 100644 (file)
@@ -275,6 +275,7 @@ XMLName {XMLNameStart}{XMLNamePart}*
 "in"           L C I(word, Word("in"), yyextra->in_.top() ? tk::In_ : tk::In);
 "instanceof"   L C I(word, Word("instanceof"), tk::InstanceOf);
 "new"          L C I(word, Word("new"), tk::New);
+"of"           L C I(word, Word("of"), tk::Of);
 "return"       L R I(word, Word("return"), tk::Return);
 "switch"       L C I(word, Word("switch"), tk::Switch);
 "this"         L C I(this, This(), tk::This);