@@ -211,58 +211,58 @@ typedef struct sTokenInfoSQL {
211211static langType Lang_sql ;
212212
213213typedef enum {
214+ SQLTAG_PLSQL_CCFLAGS ,
215+ SQLTAG_DOMAIN ,
216+ SQLTAG_FIELD ,
217+ SQLTAG_BLOCK_LABEL ,
218+ SQLTAG_PACKAGE ,
219+ SQLTAG_SERVICE ,
220+ SQLTAG_TRIGGER ,
221+ SQLTAG_PUBLICATION ,
222+ SQLTAG_VIEW ,
214223 SQLTAG_CURSOR ,
215224 SQLTAG_PROTOTYPE ,
225+ SQLTAG_EVENT ,
216226 SQLTAG_FUNCTION ,
217- SQLTAG_FIELD ,
227+ SQLTAG_INDEX ,
218228 SQLTAG_LOCAL_VARIABLE ,
219- SQLTAG_BLOCK_LABEL ,
220- SQLTAG_PACKAGE ,
229+ SQLTAG_SYNONYM ,
221230 SQLTAG_PROCEDURE ,
222231 SQLTAG_RECORD ,
223232 SQLTAG_SUBTYPE ,
224233 SQLTAG_TABLE ,
225- SQLTAG_TRIGGER ,
226234 SQLTAG_VARIABLE ,
227- SQLTAG_INDEX ,
228- SQLTAG_EVENT ,
229- SQLTAG_PUBLICATION ,
230- SQLTAG_SERVICE ,
231- SQLTAG_DOMAIN ,
232- SQLTAG_VIEW ,
233- SQLTAG_SYNONYM ,
234235 SQLTAG_MLTABLE ,
235236 SQLTAG_MLCONN ,
236237 SQLTAG_MLPROP ,
237- SQLTAG_PLSQL_CCFLAGS ,
238238 SQLTAG_COUNT
239239} sqlKind ;
240240
241241static kindDefinition SqlKinds [] = {
242+ { true, 'C' , "ccflag" , "PLSQL_CCFLAGS" },
243+ { true, 'D' , "domain" , "domains" },
244+ { true, 'E' , "field" , "record fields" },
245+ { true, 'L' , "label" , "block label" },
246+ { true, 'P' , "package" , "packages" },
247+ { true, 'R' , "service" , "services" },
248+ { true, 'T' , "trigger" , "triggers" },
249+ { true, 'U' , "publication" , "publications" },
250+ { true, 'V' , "view" , "views" },
242251 { true, 'c' , "cursor" , "cursors" },
243252 { false, 'd' , "prototype" , "prototypes" },
253+ { true, 'e' , "event" , "events" },
244254 { true, 'f' , "function" , "functions" },
245- { true, 'E ' , "field " , "record fields" },
255+ { true, 'i ' , "index " , "indexes" },
246256 { false, 'l' , "local" , "local variables" },
247- { true, 'L' , "label" , "block label" },
248- { true, 'P' , "package" , "packages" },
257+ { true, 'n' , "synonym" , "synonyms" },
249258 { true, 'p' , "procedure" , "procedures" },
250259 { false, 'r' , "record" , "records" },
251260 { true, 's' , "subtype" , "subtypes" },
252261 { true, 't' , "table" , "tables" },
253- { true, 'T' , "trigger" , "triggers" },
254262 { true, 'v' , "variable" , "variables" },
255- { true, 'i' , "index" , "indexes" },
256- { true, 'e' , "event" , "events" },
257- { true, 'U' , "publication" , "publications" },
258- { true, 'R' , "service" , "services" },
259- { true, 'D' , "domain" , "domains" },
260- { true, 'V' , "view" , "views" },
261- { true, 'n' , "synonym" , "synonyms" },
262263 { true, 'x' , "mltable" , "MobiLink Table Scripts" },
263264 { true, 'y' , "mlconn" , "MobiLink Conn Scripts" },
264265 { true, 'z' , "mlprop" , "MobiLink Properties" },
265- { true, 'C' , "ccflag" , "PLSQL_CCFLAGS" },
266266};
267267
268268static const keywordTable SqlKeywordTable [] = {
0 commit comments