diff --git a/SqlSyntaxHighlighter.cpp b/SqlSyntaxHighlighter.cpp index d4db962..3194659 100644 --- a/SqlSyntaxHighlighter.cpp +++ b/SqlSyntaxHighlighter.cpp @@ -153,10 +153,33 @@ namespace { t_SymbolSet g_Keywords = { - "abort", "after", "aggregate", "alter", "all", "analyze", "and", "any", "as", "asc", - "before", "begin", "buffer", "by", - "cascade", "case", "cast", "check", "close", "cluster", "collate", "collation", "column", "comment", "commit", "constraint", "copy", "cost", "create", - "data", "database", "declare", "default", "deferrable", "deferred", "delete", "desc", "discard", "distinct", "do", "domain", "drop", + "a", "abort", "abs", "absent", "absolute", "access", "according", "action", "ada", "add", + "admin", "after", "aggregate", "all", "allocate", "also", "alter", "analyse", "analyze", "and", + "any", "are", "array", "array_agg", "array_max_cardinality", "as", "asc", "asensitive", + "assetion", "assignment", "asymmetric", "at", "atomic", "attribute", "attributes", "authorization", "avg", + "backward", "base64", "before", "begin", "begin_frame", "begin_partition", "bernoulli", "between", "binary", + "bit", "bit_length", "blob", "blocked", "bom", "boolean", "both", "breadth", "buffer", "by", + "c", "cache", "call", "called", "cardinality", "cascade", "cascaded", "case", "cast", + "catalog", "catalog_name", "ceil", "ceiling", "chain", "char", "character", "characteristics", + "characters", "character_length", "character_set_catalog", "character_set_name", "character_set_schema", + "char_length", "check", "checkpoint", "class", "class_origin", "clob", "close", "cluster", + "coalesce", "cobol", "collate", "collation", "collation_catalog", "collation_name", "collation_schema", + "collect", "column", "columns", "column_name", "command_function", "command_function_code", + "comment", "comments", "commit", "committed", "concurrently", "condition", "condition_number", + "configuration", "conflict", "connect", "connection", "connection_name", "constraint", "constraints", + "constraint_catalog", "constraint_name", "constraint_schema", "constructor", "contains", "content", + "continue", "control", "conversion", "convert", "copy", "corr", "corresponding", "cost", "count", + "covar_pop", "covar_samp", "create", "cross", "csv", "cube", "cume_dist", "current", "current_catalog", + "current_date", "current_default_transform_group", "current_path", "current_role", "current_row", + "current_schema", "current_time", "current_timestamp", "current_transform_group_for_type", + "current_user", "cursor", "cursor_name", "cycle", + "data", "database", "datalink", "date", "datetime_interval_code", "datetime_interval_precision", + "day", "db", "deallocate", "dec", "decimal", "declare", "default", "defaults", "deferrable", "deferred", + "defined", "definer", "degree", "delete", "delimiter", "delimiters", "dense_rank", "depends", "depth", + "deref", "derived", "desc", "describe", "descriptor", "deterministic", "diagnostics", "dictionary", + "disable", "discard", "disconnect", "dispatch", "distinct", "dlnewcopy", "dlpreviouscopy", "dlurlcomplete", + "dlurlcompleteonly", "dlurlcompletewrite", "dlurlpatch", "dlurlpathonly", "dlurlpathwrite", "dlurlscheme", + "dlurlserver", "do", "domain", "drop", "elif", "end", "event", "exclude", "execute", "exists", "extenstion", "fetch", "first", "foreign", "from", "function", "full", "global", "grant", "group", @@ -177,7 +200,7 @@ namespace { "when", "where", "with", "wrapper" }; - +//"bigint", }