X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/3fe283c53edc2a98d0164d893a4a667245da8e78..f6fa3c2112ee8b0aa26ab0765674601a9800db77:/Cycript.l.in diff --git a/Cycript.l.in b/Cycript.l.in index 44d36f3..cbe4fe5 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 */ @@ -260,8 +263,8 @@ XMLName {XMLNameStart}{XMLNamePart}* @begin C "typedef" L C I(identifier, Identifier("typedef"), tk::Typedef, hi::Meta); -"unsigned" L C I(identifier, Identifier("unsigned"), tk::Unsigned, hi::Meta); -"signed" L C I(identifier, Identifier("signed"), tk::Signed, hi::Meta); +"unsigned" L C I(identifier, Identifier("unsigned"), tk::Unsigned, hi::Type); +"signed" L C I(identifier, Identifier("signed"), tk::Signed, hi::Type); @end @begin ObjectiveC