emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r110973: Support IF NOT EXISTS in SQL


From: Daniel Colascione
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r110973: Support IF NOT EXISTS in SQL declarations
Date: Wed, 21 Nov 2012 13:38:56 -0800
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 110973 [merge]
committer: Daniel Colascione <address@hidden>
branch nick: trunk
timestamp: Wed 2012-11-21 13:38:56 -0800
message:
  Support IF NOT EXISTS in SQL declarations
modified:
  lisp/ChangeLog
  lisp/progmodes/sql.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2012-11-21 08:39:08 +0000
+++ b/lisp/ChangeLog    2012-11-21 21:38:56 +0000
@@ -1,3 +1,8 @@
+2012-11-21  Daniel Colascione  <address@hidden>
+
+       * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT 
EXISTS
+       in SQL declarations.
+
 2012-11-21  Glenn Morris  <address@hidden>
 
        * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)

=== modified file 'lisp/progmodes/sql.el'
--- a/lisp/progmodes/sql.el     2012-11-09 04:10:16 +0000
+++ b/lisp/progmodes/sql.el     2012-11-21 21:38:56 +0000
@@ -1339,6 +1339,7 @@
                  "\\(?:\\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))
 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]