Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/cfa.nanorc

    r307a732 rca78437  
    22## WIP
    33
    4 syntax "cfa" "\.cfa"
     4syntax "cfa" "\.cfa$"
     5## No magic
    56
    67# Macros
     
    1819# Control Flow Structures
    1920color brightyellow "\<(if|else|while|do|for|switch|choose|case|default)\>"
    20 color brightyellow "\<(try|catch(Resume)?|finally)\>"
     21##color brightyellow "\<(try|catch|catchResume|finally)\>"
    2122
    2223# Control Flow Statements
    23 color magenta "\<(goto|return|break|continue|fallthr(u|ough)|throw(Resume)?)\>"
     24color magenta "\<(return|break|continue|fallthru|throw)\>"
    2425
    2526# Operator Names
     
    4546color brightmagenta "'\\(([0-3]?[0-7]{1,2}))'" "'\\x[0-9A-Fa-f]{1,2}'"
    4647# Strings and Angle Strings
    47 color yellow ""([^"]|\\")*"" "<[^[:blank:]=]*>"
     48color brightyellow ""([^"]|\\")*"" "<[^[:blank:]=]*>"
    4849# Multiline Strings: This regex is VERY expencive and often too strong.
    4950###color brightyellow start=""(\\.|[^"])*\\[[:space:]]*$" end="^(\\.|[^"])*""
Note: See TracChangeset for help on using the changeset viewer.