X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/8aebacfe9ffe9da4f932aac51cf4430e0d624df7..46d13f4cc568a076eaeac0c78d4fd6fee2baa7d2:/Cycript.l.in diff --git a/Cycript.l.in b/Cycript.l.in index 798e354..7eb9d11 100644 --- a/Cycript.l.in +++ b/Cycript.l.in @@ -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}* \/{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);