# JOE syntax highlight file for C and C++ # A (deterministic) state machine which performs lexical analysis of C. # (This is the "assembly language" of syntax highlighting. A separate # program could be used to convert a regular expression NFA syntax into this # format). # Each state begins with ': ' # # is the color used for characters eaten by the state # (really a symbol for a user definable color). # # tells JOE if the current character is part of a comment or a string. # This allows JOE to skip over comments and strings when matching characters # such as parentheses. To use this feature, the -highlighter_context option # must be applied to the files highlighted by the corresponding syntax. To # apply the option, add it to ftyperc for those file entries. # # The valid contexts are: # comment This character is part of a comment. Example: /* comment */ # # string This character is part of a string. Examples: "string" 'c' 'string' # # The comment and string delimiters themselves should be marked with the # appropriate context. The context is considered to be part of the color, so # the recolor=-N and recolormark options apply the context to previous # characters. # The first state defined is the initial state. # Within a state, define transitions (jumps) to other states. Each # jump has the form: [