[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/sql-cassandra 3e919c88b2: Move defconsts inside eval-wh
From: |
Filipp Gunbin |
Subject: |
[elpa] externals/sql-cassandra 3e919c88b2: Move defconsts inside eval-when-compile |
Date: |
Wed, 27 Apr 2022 07:35:54 -0400 (EDT) |
branch: externals/sql-cassandra
commit 3e919c88b248e6030694c1d090c81a487cf549ba
Author: Filipp Gunbin <fgunbin@okko.tv>
Commit: Filipp Gunbin <fgunbin@okko.tv>
Move defconsts inside eval-when-compile
---
sql-cassandra.el | 69 ++++++++++++++++++++++++++++----------------------------
1 file changed, 35 insertions(+), 34 deletions(-)
diff --git a/sql-cassandra.el b/sql-cassandra.el
index 825e4fca92..dd783aca6c 100644
--- a/sql-cassandra.el
+++ b/sql-cassandra.el
@@ -47,52 +47,53 @@
:group 'SQL)
-(defconst sql-cassandra-special-commands
- '("capture" "cls" "copy" "describe" "expand" "login" "serial"
- "source" "unicode" "clear" "consistency" "desc" "exit" "help"
- "paging" "show" "tracing")
- "Special commands recognized by cqlsh.
+(eval-when-compile
+ (defconst sql-cassandra-special-commands
+ '("capture" "cls" "copy" "describe" "expand" "login" "serial"
+ "source" "unicode" "clear" "consistency" "desc" "exit" "help"
+ "paging" "show" "tracing")
+ "Special commands recognized by cqlsh.
Refer to:
https://cassandra.apache.org/doc/latest/cassandra/tools/cqlsh.html#special-commands")
-(defconst sql-cassandra-native-types
- '("ascii" "bigint" "blob" "boolean" "counter" "date" "decimal"
- "double" "duration" "float" "inet" "int" "smallint" "text" "time"
- "timestamp" "timeuuid" "tinyint" "uuid" "varchar" "varint")
- "Cassandra native types.
+ (defconst sql-cassandra-native-types
+ '("ascii" "bigint" "blob" "boolean" "counter" "date" "decimal"
+ "double" "duration" "float" "inet" "int" "smallint" "text" "time"
+ "timestamp" "timeuuid" "tinyint" "uuid" "varchar" "varint")
+ "Cassandra native types.
Refer to
https://cassandra.apache.org/doc/latest/cassandra/cql/types.html#native-types")
-(defconst sql-cassandra-reserved-types
- '("bitstring" "byte" "complex" "enum" "interval" "macaddr")
- "Cassandra reserved types.
+ (defconst sql-cassandra-reserved-types
+ '("bitstring" "byte" "complex" "enum" "interval" "macaddr")
+ "Cassandra reserved types.
Refer to
https://cassandra.apache.org/doc/latest/cassandra/cql/appendices.html#appendix-b-cql-reserved-types.")
-(defconst sql-cassandra-keywords
- '("add" "aggregate" "all" "allow" "alter" "and" "apply" "as" "asc"
- "ascii" "authorize" "batch" "begin" "bigint" "blob" "boolean"
- "by" "called" "clustering" "columnfamily" "compact" "contains"
- "count" "counter" "create" "custom" "date" "decimal" "delete"
- "desc" "describe" "distinct" "double" "drop" "entries" "execute"
- "exists" "filtering" "finalfunc" "float" "from" "frozen" "full"
- "function" "functions" "grant" "if" "in" "index" "inet" "infinity"
- "initcond" "input" "insert" "int" "into" "json" "key" "keys"
- "keyspace" "keyspaces" "language" "limit" "list" "login" "map"
- "modify" "nan" "nologin" "norecursive" "nosuperuser" "not" "null"
- "of" "on" "options" "or" "order" "password" "permission" "permissions"
- "primary" "rename" "replace" "returns" "revoke" "role" "roles"
- "schema" "select" "set" "sfunc" "smallint" "static" "storage"
- "stype" "superuser" "table" "text" "time" "timestamp" "timeuuid"
- "tinyint" "to" "token" "trigger" "truncate" "ttl" "tuple" "type"
- "unlogged" "update" "use" "user" "users" "using" "uuid" "values"
- "varchar" "varint" "where" "with" "writetime")
- "Cassandra keywords.
-
-Refer to
https://cassandra.apache.org/doc/latest/cassandra/cql/appendices.html#appendix-A")
+ (defconst sql-cassandra-keywords
+ '("add" "aggregate" "all" "allow" "alter" "and" "apply" "as" "asc"
+ "ascii" "authorize" "batch" "begin" "bigint" "blob" "boolean"
+ "by" "called" "clustering" "columnfamily" "compact" "contains"
+ "count" "counter" "create" "custom" "date" "decimal" "delete"
+ "desc" "describe" "distinct" "double" "drop" "entries" "execute"
+ "exists" "filtering" "finalfunc" "float" "from" "frozen" "full"
+ "function" "functions" "grant" "if" "in" "index" "inet" "infinity"
+ "initcond" "input" "insert" "int" "into" "json" "key" "keys"
+ "keyspace" "keyspaces" "language" "limit" "list" "login" "map"
+ "modify" "nan" "nologin" "norecursive" "nosuperuser" "not" "null"
+ "of" "on" "options" "or" "order" "password" "permission" "permissions"
+ "primary" "rename" "replace" "returns" "revoke" "role" "roles"
+ "schema" "select" "set" "sfunc" "smallint" "static" "storage"
+ "stype" "superuser" "table" "text" "time" "timestamp" "timeuuid"
+ "tinyint" "to" "token" "trigger" "truncate" "ttl" "tuple" "type"
+ "unlogged" "update" "use" "user" "users" "using" "uuid" "values"
+ "varchar" "varint" "where" "with" "writetime")
+ "Cassandra keywords.
+
+Refer to
https://cassandra.apache.org/doc/latest/cassandra/cql/appendices.html#appendix-A"))
(defvar sql-cassandra-font-lock-keywords
(eval-when-compile
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals/sql-cassandra 3e919c88b2: Move defconsts inside eval-when-compile,
Filipp Gunbin <=