Show
Ignore:
Timestamp:
01/07/06 20:17:04 (3 years ago)
Author:
gnue
Message:

change indent

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • NEWT0/trunk/misc/xcode-support/newt.pblangspec

    r49 r50  
    44 
    55( 
    6     { 
    7         Identifier = newt; 
    8         Name = "NewtonScript"; 
    9         Description = "NewtonScript"; 
     6    { 
     7        Identifier = newt; 
     8        Name = "NewtonScript"; 
     9        Description = "NewtonScript"; 
    1010        BasedOn = "pbx_root_language"; 
    11         SourceScannerClassName = PBXCPPSourceScanner; 
    12         SupportsIndentation = YES; 
    13         Indentation = { 
    14         }; 
    15         SyntaxColoring = { 
    16             CaseSensitive = NO; 
    17             UnicodeSymbols = NO; // accept \uXXXX anywhere in a file, and return a single character (not yet supported!) 
    18             IndexedSymbols = YES; 
    19             CommentsCanBeNested = YES; 
    20             IdentifierStartChars = "_"; 
    21             IdentifierChars = "_"; 
    22             MultiLineComment = ( 
    23                 ( "/*", "*/" ), 
    24             ); 
    25             String = ( 
    26                 ( "\"", "\"" ) 
    27             ); 
    28             EscapeCharacter = "\\"; 
    29             SingleLineComment = (  "//" ); 
    30             DocComment = "///"; 
    31             DocCommentKeywordStart = "@"; 
    32             DocCommentKeywords = ( 
     11        SourceScannerClassName = PBXCPPSourceScanner; 
     12        SupportsIndentation = YES; 
     13        Indentation = { 
     14        }; 
     15        SyntaxColoring = { 
     16            CaseSensitive = NO; 
     17            UnicodeSymbols = NO; // accept \uXXXX anywhere in a file, and return a single character (not yet supported!) 
     18            IndexedSymbols = YES; 
     19            CommentsCanBeNested = YES; 
     20            IdentifierStartChars = "_"; 
     21            IdentifierChars = "_"; 
     22            MultiLineComment = ( 
     23                ( "/*", "*/" ), 
     24            ); 
     25            String = ( 
     26                ( "\"", "\"" ) 
     27            ); 
     28            EscapeCharacter = "\\"; 
     29            SingleLineComment = (  "//" ); 
     30            DocComment = "///"; 
     31            DocCommentKeywordStart = "@"; 
     32            DocCommentKeywords = ( 
    3333                "param", 
    3434                "returns" 
    3535            ); 
    36             Keywords = ( 
    37                 "and", 
    38                 "begin", 
    39                 "break", 
    40                 "by", 
    41                 "call", 
    42                 "collect", 
    43                 "constant", 
    44                 "depply", 
    45                 "div", 
    46                 "do", 
    47                 "else", 
    48                 "end", 
    49                 "exists", 
    50                 "for", 
    51                 "foreach", 
    52                 "func", 
    53                 "global", 
    54                 "if", 
    55                 "in", 
    56                 "inherited", 
    57                 "local", 
    58                 "loop", 
    59                 "mod", 
    60                 "native", 
    61                 "not", 
    62                 "onexception", 
    63                 "or", 
    64                 "repeat", 
    65                 "return", 
    66                 "self", 
    67                 "then", 
    68                 "to", 
    69                 "try", 
    70                 "until", 
    71                 "while", 
    72                 "with" 
    73             ); 
    74             AltKeywords = ( 
    75                 "nil", 
    76                 "true", 
    77                 "@" 
    78             ); 
    79         }; 
    80     }, 
     36            Keywords = ( 
     37                "and", 
     38                "begin", 
     39                "break", 
     40                "by", 
     41                "call", 
     42                "collect", 
     43                "constant", 
     44                "depply", 
     45                "div", 
     46                "do", 
     47                "else", 
     48                "end", 
     49                "exists", 
     50                "for", 
     51                "foreach", 
     52                "func", 
     53                "global", 
     54                "if", 
     55                "in", 
     56                "inherited", 
     57                "local", 
     58                "loop", 
     59                "mod", 
     60                "native", 
     61                "not", 
     62                "onexception", 
     63                "or", 
     64                "repeat", 
     65                "return", 
     66                "self", 
     67                "then", 
     68                "to", 
     69                "try", 
     70                "until", 
     71                "while", 
     72                "with" 
     73            ); 
     74            AltKeywords = ( 
     75                "nil", 
     76                "true", 
     77                "@" 
     78            ); 
     79        }; 
     80    }, 
    8181)