From: Jay Freeman (saurik) Date: Wed, 12 Sep 2012 05:31:53 +0000 (-0700) Subject: Syntax highlight nil, an identifier, as a constant. X-Git-Tag: v0.9.459~18 X-Git-Url: https://git.saurik.com/cycript.git/commitdiff_plain/a8ef4d3eae5d941d3e63424d97847ee995eccdde Syntax highlight nil, an identifier, as a constant. --- diff --git a/Cycript.l.in b/Cycript.l.in index 141e846..17f0013 100644 --- a/Cycript.l.in +++ b/Cycript.l.in @@ -250,6 +250,7 @@ XMLName {XMLNameStart}{XMLNamePart}* "@implementation" L C F(yyextra->no_.AtImplementation ? tk::AtImplementation_ : tk::AtImplementation, hi::Meta); "@import" L C F(tk::AtImport, hi::Meta); "@selector" L C F(tk::AtSelector, hi::Meta); +"nil" L C I(identifier, Identifier("nil"), tk::Identifier_, hi::Constant); @end "false" L C I(false, False(), tk::False, hi::Constant);