]> git.saurik.com Git - cycript.git/blobdiff - Cycript.l.in
Close server socket after accepting remote client.
[cycript.git] / Cycript.l.in
index 798e35458c1be1a95fb42c0995e6c8bf367686a9..7eb9d11c91d2905157d56a86bac23134d82ac1fe 100644 (file)
@@ -119,7 +119,8 @@ int H(char c) {
 %option noyywrap
 %option yylineno
 %option nounput
-%option interactive
+%option batch
+%option never-interactive
 %option reentrant
 %option stack
 
@@ -155,6 +156,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 */
@@ -193,7 +196,6 @@ XMLName {XMLNameStart}{XMLNamePart}*
 
 @begin E4X ObjectiveC
 "@"    L C F(tk::At, hi::Operator);
-"#"    L C F(tk::Pound, hi::Operator);
 @end
 
 "&"    L C F(tk::Ampersand, hi::Operator);