From 355cc1eb84453c116ec1b46baad03b7d5ba6d0da Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Thu, 13 Sep 2012 17:29:59 -0700 Subject: [PATCH] Make minor format changes to lexer (and undefined). --- Cycript.l.in | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Cycript.l.in b/Cycript.l.in index a3aed14..37707a6 100644 --- a/Cycript.l.in +++ b/Cycript.l.in @@ -253,12 +253,14 @@ XMLName {XMLNameStart}{XMLNamePart}* "@import" L C F(tk::AtImport, hi::Meta); "@selector" L C F(tk::AtSelector, hi::Meta); -"NULL" L C I(identifier, Identifier("NULL"), tk::Identifier_, hi::Constant); -"nil" L C I(identifier, Identifier("nil"), tk::Identifier_, hi::Constant); -"YES" L C I(identifier, Identifier("YES"), tk::Identifier_, hi::Constant); -"NO" L C I(identifier, Identifier("NO"), tk::Identifier_, hi::Constant); +"NULL" L C I(identifier, Identifier("NULL"), tk::Identifier_, hi::Constant); +"nil" L C I(identifier, Identifier("nil"), tk::Identifier_, hi::Constant); +"YES" L C I(identifier, Identifier("YES"), tk::Identifier_, hi::Constant); +"NO" L C I(identifier, Identifier("NO"), tk::Identifier_, hi::Constant); @end +"undefined" L C I(identifier, Identifier("undefined"), tk::Identifier_, hi::Operator); + "false" L C I(false, False(), tk::False, hi::Constant); "null" L C I(null, Null(), tk::Null, hi::Constant); "true" L C I(true, True(), tk::True, hi::Constant); -- 2.47.2