1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
# -*- LE-syntax -*-
# PL/SQL mode, by Serge Vakulenko <vak@cronyx.ru>
c3=--.*$|/\\*(?:.|\n)*?\\*/
c3="([^"\n\\]|\\\\.)*"|'([^\n'\\]|\\\\.)*'
ci1,1=(?:[^[:alnum:]_]|^)(\
abort|accept|access|add|after|all|alter|and|any|array|arraylen|as|asc|\
assert|assign|at|audit|authorization|avg|base_table|before|begin|between|\
binary_integer|body|boolean|by|cascade|case|char|char_base|check|close|\
cluster|clusters|colauth|column|columns|comment|commit|compress|connect|\
constant|constraint|count|crash|create|current|cursor|curval|database|\
data_base|date|dba|debugoff|debugon|decimal|declare|decode|default|\
definition|delay|delete|delimiter|delta|desc|digits|disable|dispose|\
distinct|do|drop|each|else|elsif|enable|end|engine|entry|exception|\
exception_init|exclusive|exists|exit|false|fetch|file|float|for|foreign|\
form|from|full|function|generic|goto|grant|group|having|identified|if|\
immediate|in|increment|index|indexes|indicator|initial|inner|insert|int|\
integer|interface|intersect|into|is|join|key|left|level|like|limit|\
limited|lock|long|loop|max|maxextents|min|minus|mlslabel|mod|mode|modify|\
natural|naturaln|new|nextval|nvl|noaudit|nocompress|not|nowait|null(if)?|number|\
number_base|of|offline|on|online|open|option|or|order|others|out|outer|\
package|partition|pctfree|pls_integer|positive|positiven|pragma|primary|\
prior|private|privileges|procedure|public|raise|range|raw|real|record|ref|\
references|release|rem|rename|replace|resource|return|returning|reverse|\
revoke|right|rollback|row|rowid|rowlabel|rownum|rows|rowtype|run|\
savepoint|schema|select|separate|sequence|session|set|share|size|smallint|\
space|sql|sqlcode|sqlerrm|start|statement|stddev|subtype|successful|sum|\
synonym|sysdate|tabauth|table|tables|task|terminate|then|to|transaction|\
trigger|true|type|uid|union|unique|unsigned|update|use|user|using|validate|\
values|varchar|varchar2|variance|view|views|when|whenever|where|while|with|\
work|write|xor|continue|lower|upper|initcap\
)(?:[^[:alnum:]_]|$)
c2=\||\)|\(|:=|=|\|\||<|>|!=
|