]> git.saurik.com Git - cycript.git/blobdiff - Cycript.l.in
Syntax highlight nil, an identifier, as a constant.
[cycript.git] / Cycript.l.in
index 141e8466afb96c9d98d77d2e9d995c6c58e96ab8..17f0013ed315569abe33a9126f342c36d1c82d54 100644 (file)
@@ -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);