3 * Description: Sybase 11 SQL.
4 * Author: Chris Jack <chris_jack@msn.com>
7 state sql_comment extends Highlight
19 state sql_string extends Highlight
30 state sql extends HighlightEntry
40 /* String constants. */
48 /* Character constants. */
63 [Aa][Ll][Ll][Oo][Ww]_[Dd][Uu][Pp]_[Rr][Oo][Ww]|\
64 [Aa][Ll][Tt][Ee][Rr]|\
66 [Aa][Nn][Ss][Ii][Nn][Uu][Ll][Ll]|\
67 [Aa][Nn][Ss][Ii]_[Pp][Ee][Rr][Mm][Ii][Ss][Ss][Ii][Oo][Nn][Ss]|\
69 [Aa][Rr][Ii][Tt][Hh]_[Oo][Vv][Ee][Rr][Ff][Ll][Oo][Ww]|\
70 [Aa][Rr][Ii][Tt][Hh][Aa][Bb][Oo][Rr][Tt]|\
71 [Aa][Rr][Ii][Tt][Hh][Ii][Gg][Nn][Oo][Rr][Ee]|\
74 [Aa][Ss][Cc][Ii][Ii]|\
79 [Aa][Uu][Tt][Hh][Oo][Rr][Ii][Zz][Aa][Tt][Ii][Oo][Nn]|\
82 [Bb][Ee][Gg][Ii][Nn]|\
83 [Bb][Ee][Tt][Ww][Ee][Ee][Nn]|\
84 [Bb][Ii][Nn][Aa][Rr][Yy]|\
85 [Bb][Rr][Ee][Aa][Kk]|\
86 [Bb][Rr][Oo][Ww][Ss][Ee]|\
88 [Bb][Uu][Ll][Kk][Cc][Oo][Pp][Yy]|\
90 [Cc][Aa][Ss][Cc][Aa][Dd][Ee]|\
91 [Cc][Ee][Ii][Ll][Ii][Nn][Gg]|\
92 [Cc][Hh][Aa][Ii][Nn][Ee][Dd]|\
94 [Cc][Hh][Aa][Rr]_[Cc][Oo][Nn][Vv][Ee][Rr][Tt]|\
95 [Cc][Hh][Aa][Rr]_[Ll][Ee][Nn][Gg][Tt][Hh]|\
96 [Cc][Hh][Aa][Rr][Aa][Cc][Tt][Ee][Rr]|\
97 [Cc][Hh][Aa][Rr][Ii][Nn][Dd][Ee][Xx]|\
98 [Cc][Hh][Ee][Cc][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