From a8ef4d3eae5d941d3e63424d97847ee995eccdde Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Tue, 11 Sep 2012 22:31:53 -0700 Subject: [PATCH 1/1] Syntax highlight nil, an identifier, as a constant. --- Cycript.l.in | 1 + 1 file changed, 1 insertion(+) 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); -- 2.47.2