]> git.saurik.com Git - cycript.git/blobdiff - Cycript.l
Fixed a typo I made while coding on my iPhone, on an airplane.
[cycript.git] / Cycript.l
index 115e1de6e490a70b3289efffce3addb810216195..c2142bd19fd116888c5af0623bf330ff61a04414 100644 (file)
--- a/Cycript.l
+++ b/Cycript.l
@@ -114,9 +114,13 @@ RegularExpressionStart_ {RegularExpressionBody}{RegularExpressionEnd_}
         yylloc->end.lines(lines);
         yylloc->end.columns(left);
         yylloc->step();
+
+        N
     } else L
 }
 
+"@"    L C return tk::At;
+
 "&"    L C return tk::Ampersand;
 "&&"   L C return tk::AmpersandAmpersand;
 "&="   L C return tk::AmpersandEqual;
@@ -289,7 +293,7 @@ RegularExpressionStart_ {RegularExpressionBody}{RegularExpressionEnd_}
     return tk::StringLiteral;
 }
 
-\n yylloc->end.lines(); yylloc->step(); N
+\r?\n yylloc->end.lines(); yylloc->step(); N
 
 [ \t] L
 <<EOF>> L yyterminate();