From: Jay Freeman (saurik) Date: Fri, 14 Sep 2012 00:29:59 +0000 (-0700) Subject: Make minor format changes to lexer (and undefined). X-Git-Tag: v0.9.459^0 X-Git-Url: https://git.saurik.com/cycript.git/commitdiff_plain/355cc1eb84453c116ec1b46baad03b7d5ba6d0da?ds=sidebyside Make minor format changes to lexer (and undefined). --- 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);