comparison src/elisp/urweb-mode.el @ 1607:da788bd72c9e

Add LIKE operator to SQL sublanguage.
author Karn Kallio <kkallio@eka>
date Wed, 23 Nov 2011 13:17:40 -0430
parents 5530a8075b62
children ac141fbb313a
comparison
equal deleted inserted replaced
1606:f4453e2402d0 1607:da788bd72c9e
149 "TRUE" "FALSE" "AND" "OR" "NOT" "COUNT" "AVG" "SUM" "MIN" "MAX" 149 "TRUE" "FALSE" "AND" "OR" "NOT" "COUNT" "AVG" "SUM" "MIN" "MAX"
150 "ASC" "DESC" "INSERT" "INTO" "VALUES" "UPDATE" "SET" "DELETE" 150 "ASC" "DESC" "INSERT" "INTO" "VALUES" "UPDATE" "SET" "DELETE"
151 "PRIMARY" "KEY" "CONSTRAINT" "UNIQUE" "CHECK" 151 "PRIMARY" "KEY" "CONSTRAINT" "UNIQUE" "CHECK"
152 "FOREIGN" "REFERENCES" "ON" "NO" "ACTION" "CASCADE" "RESTRICT" "NULL" 152 "FOREIGN" "REFERENCES" "ON" "NO" "ACTION" "CASCADE" "RESTRICT" "NULL"
153 "JOIN" "INNER" "OUTER" "LEFT" "RIGHT" "FULL" "CROSS" "SELECT1" 153 "JOIN" "INNER" "OUTER" "LEFT" "RIGHT" "FULL" "CROSS" "SELECT1"
154 "IF" "THEN" "ELSE") 154 "IF" "THEN" "ELSE" "COALESCE" "LIKE")
155 "A regexp that matches SQL keywords.") 155 "A regexp that matches SQL keywords.")
156 156
157 (defconst urweb-lident-regexp "\\<[a-z_][A-Za-z0-9_']*\\>" 157 (defconst urweb-lident-regexp "\\<[a-z_][A-Za-z0-9_']*\\>"
158 "A regexp that matches lowercase Ur/Web identifiers.") 158 "A regexp that matches lowercase Ur/Web identifiers.")
159 159