summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2009-04-07 16:22:11 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2009-04-07 16:22:11 -0400
commit24158c81fb4cc8b318ceb5bc461ab2f494cb7b78 (patch)
tree931b8113bdd0687ea37ee48d1dede73a7cc65a46 /src
parent26ad31287745567b98b357de9793a0e795c63334 (diff)
Add primary keys to demo
Diffstat (limited to 'src')
-rw-r--r--src/elisp/urweb-mode.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/elisp/urweb-mode.el b/src/elisp/urweb-mode.el
index e7615cc3..65cd8abf 100644
--- a/src/elisp/urweb-mode.el
+++ b/src/elisp/urweb-mode.el
@@ -147,7 +147,8 @@ See doc for the variable `urweb-mode-info'."
(urweb-syms-re "SELECT" "FROM" "AS" "WHERE" "SQL" "GROUP" "ORDER" "BY"
"HAVING" "LIMIT" "OFFSET" "ALL" "UNION" "INTERSECT" "EXCEPT"
"TRUE" "FALSE" "AND" "OR" "NOT" "COUNT" "AVG" "SUM" "MIN" "MAX"
- "ASC" "DESC" "INSERT" "INTO" "VALUES" "UPDATE" "SET" "DELETE")
+ "ASC" "DESC" "INSERT" "INTO" "VALUES" "UPDATE" "SET" "DELETE"
+ "PRIMARY" "KEY" "CONSTRAINT" "UNIQUE")
"A regexp that matches SQL keywords.")
(defconst urweb-lident-regexp "\\<[a-z_][A-Za-z0-9_']*\\>"