]> git.saurik.com Git - cycript.git/blobdiff - Cycript.l.in
Add syntax to support C-style typedef assignment.
[cycript.git] / Cycript.l.in
index cb422ccfca62add4cbcc7fa19f9221c74393da40..5915fc95272fb34a4d7f61fa74b6c9e641bb6cb1 100644 (file)
@@ -257,6 +257,10 @@ XMLName {XMLNameStart}{XMLNamePart}*
 "@class"          L C F(tk::AtClass, hi::Meta);
 @end
 
+@begin C
+"typedef"         L C I(identifier, Identifier("typedef"), tk::Typedef, hi::Meta);
+@end
+
 @begin ObjectiveC
 "@encode"         L C F(tk::AtEncode, hi::Meta);
 "@end"            L C F(tk::AtEnd, hi::Meta);