]> git.saurik.com Git - cycript.git/blobdiff - Cycript.l.in
Make lexer start a comment with #! (for scripts).
[cycript.git] / Cycript.l.in
index 73721e27ccf7c56a67c3e27a59a16fb357975224..f364ed76e1475ae26bf9ede94715787d8116b19d 100644 (file)
@@ -155,6 +155,8 @@ XMLName {XMLNameStart}{XMLNamePart}*
 
 <RegExp>\/{RegularExpressionBody}\/{RegularExpressionFlags} L C I(literal, RegEx(Y), tk::RegularExpressionLiteral, hi::Constant);
 
+#![^\n]* L M
+
 \/\/[^\n]* L M
 
        /* http://ostermiller.org/findcomment.html */