]> git.saurik.com Git - cycript.git/blobdiff - Cycript.l.in
Make sure autogen.sh works somewhat on a Mac.
[cycript.git] / Cycript.l.in
index e08523340643a4c32031ddd7f19cff782e736b96..bdd25ed31d661177c039b1f2b215f06b96124d27 100644 (file)
@@ -384,7 +384,8 @@ XMLName {XMLNameStart}{XMLNamePart}*
 \r?\n yylloc->end.lines(); yylloc->step(); N
 
 [ \t] L
 \r?\n yylloc->end.lines(); yylloc->step(); N
 
 [ \t] L
-<<EOF>> L yyterminate();
+
+<<EOF>> if (yyextra->auto_) { yyextra->auto_ = false; return tk::AutoComplete; } L yyterminate();
 
 . L {
     CYDriver::Error error;
 
 . L {
     CYDriver::Error error;