Changes in tools/cfa.nanorc [307a732:ca78437]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/cfa.nanorc
r307a732 rca78437 2 2 ## WIP 3 3 4 syntax "cfa" "\.cfa" 4 syntax "cfa" "\.cfa$" 5 ## No magic 5 6 6 7 # Macros … … 18 19 # Control Flow Structures 19 20 color brightyellow "\<(if|else|while|do|for|switch|choose|case|default)\>" 20 color brightyellow "\<(try|catch(Resume)?|finally)\>"21 ##color brightyellow "\<(try|catch|catchResume|finally)\>" 21 22 22 23 # Control Flow Statements 23 color magenta "\<( goto|return|break|continue|fallthr(u|ough)|throw(Resume)?)\>"24 color magenta "\<(return|break|continue|fallthru|throw)\>" 24 25 25 26 # Operator Names … … 45 46 color brightmagenta "'\\(([0-3]?[0-7]{1,2}))'" "'\\x[0-9A-Fa-f]{1,2}'" 46 47 # Strings and Angle Strings 47 color yellow ""([^"]|\\")*"" "<[^[:blank:]=]*>"48 color brightyellow ""([^"]|\\")*"" "<[^[:blank:]=]*>" 48 49 # Multiline Strings: This regex is VERY expencive and often too strong. 49 50 ###color brightyellow start=""(\\.|[^"])*\\[[:space:]]*$" end="^(\\.|[^"])*""
Note:
See TracChangeset
for help on using the changeset viewer.