diff options
author | Daniel Colascione <dancol@dancol.org> | 2012-11-21 13:38:56 -0800 |
---|---|---|
committer | Daniel Colascione <dancol@dancol.org> | 2012-11-21 13:38:56 -0800 |
commit | 21fa24820007018632b3719ac6855eef6b688852 (patch) | |
tree | f7d8062afac47c23eb05468acf09bd69968bfb7d /lisp | |
parent | 9239d970523919dfcf7437f728f4976b3a9467f3 (diff) | |
parent | faeafc0133e90bdd6e1df134e507201d6e3c7a38 (diff) | |
download | emacs-21fa24820007018632b3719ac6855eef6b688852.tar.gz |
Support IF NOT EXISTS in SQL declarations
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/ChangeLog | 5 | ||||
-rw-r--r-- | lisp/progmodes/sql.el | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 192de015ea6..a0c6a8671f2 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2012-11-21 Daniel Colascione <dancol@dancol.org> + + * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS + in SQL declarations. + 2012-11-21 Glenn Morris <rgm@gnu.org> * faces.el (face-underline-p, face-inverse-video-p, face-bold-p) diff --git a/lisp/progmodes/sql.el b/lisp/progmodes/sql.el index 64b87d9e436..8a5b9f107ae 100644 --- a/lisp/progmodes/sql.el +++ b/lisp/progmodes/sql.el @@ -1339,6 +1339,7 @@ Based on `comint-mode-map'.") "\\(?:\\w+\\s-+\\)*" ;; optional intervening keywords "\\(?:table\\|view\\|\\(?:package\\|type\\)\\(?:\\s-+body\\)?\\|proc\\(?:edure\\)?" "\\|function\\|trigger\\|sequence\\|rule\\|default\\)\\s-+" + "\\(?:if\\s-+not\\s-+exists\\s-+\\)?" ;; IF NOT EXISTS "\\(\\w+\\)") 1 'font-lock-function-name-face)) |