]> git.saurik.com Git - cycript.git/commitdiff
Syntax highlight SEL as if it's a type (like id).
authorJay Freeman (saurik) <saurik@saurik.com>
Sun, 19 Jan 2014 19:03:07 +0000 (11:03 -0800)
committerJay Freeman (saurik) <saurik@saurik.com>
Sun, 19 Jan 2014 19:27:30 +0000 (11:27 -0800)
Cycript.l.in

index 61a0c0920a7df8950a8b08785ed2d9c952193ad1..77a4d277d56be3c180210279d182f1abed51f2b2 100644 (file)
@@ -276,6 +276,7 @@ XMLName {XMLNameStart}{XMLNamePart}*
 "bool"         L C I(identifier, Identifier("bool"), tk::Identifier_, hi::Type);
 "BOOL"         L C I(identifier, Identifier("BOOL"), tk::Identifier_, hi::Type);
 "id"           L C I(identifier, Identifier("id"), tk::Identifier_, hi::Type);
+"SEL"          L C I(identifier, Identifier("SEL"), tk::Identifier_, hi::Type);
 @end
 
 "undefined"    L C I(identifier, Identifier("undefined"), tk::Identifier_, hi::Operator);