]> git.saurik.com Git - cycript.git/blobdiff - Cycript.l
Solve a corner case of dealloc hooking on JS derived class objects using MobileSubstrate.
[cycript.git] / Cycript.l
index b1ff59a61ccf46548fd462dce74e76df41f1b8c7..43c928533b946c08115cc76abc50505c7a788533 100644 (file)
--- a/Cycript.l
+++ b/Cycript.l
@@ -119,6 +119,8 @@ Escape   \\[\\'"bfnrtv]|\\0|\\x[0-9a-fA-F]{2}|\\u[0-9a-fA-F]{4}
 "["    L C return tk::OpenBracket;
 "]"    L C return tk::CloseBracket;
 
 "["    L C return tk::OpenBracket;
 "]"    L C return tk::CloseBracket;
 
+"@class"       L C return tk::AtClass;
+"@end"         L C return tk::AtEnd;
 "@selector"    L C return tk::AtSelector;
 
 "break"        L R yylval->word_ = new CYWord("break"); return tk::Break;
 "@selector"    L C return tk::AtSelector;
 
 "break"        L R yylval->word_ = new CYWord("break"); return tk::Break;