[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Error in SQL parsing?
From: |
Alex Schroeder |
Subject: |
Re: Error in SQL parsing? |
Date: |
Mon, 05 Nov 2001 22:00:49 +0100 |
User-agent: |
Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1 (i686-pc-linux-gnu) |
"Stefan Monnier" <monnier+gnu.emacs.bug/news/@RUM.cs.yale.edu> writes:
> Compared to RMS' proposal and to the current situation it has the
> advantage of making it easier for the user to choose (she doesn't
> need to know about modify-syntax-entry. We could even make it a
> defcustom).
We can do that if people start pestering me about it in the sql-mode
mailing list. But this has simply been a non-issue. :)
I therefore suggest the appended trivial patch.
Alex.
2001-11-05 Alex Schroeder <kensanata@yahoo.com>
* sql.el (sql-mode-syntax-table): The backslash is no longer an
escape character.
Index: sql.el
===================================================================
RCS file: /var/cvs/emacs/sql/sql/sql.el,v
retrieving revision 1.71
diff -c -r1.71 sql.el
*** sql.el 2001/10/29 02:43:41 1.71
--- sql.el 2001/11/05 20:58:29
***************
*** 4,10 ****
;; Author: Alex Schroeder <alex@gnu.org>
;; Maintainer: Alex Schroeder <alex@gnu.org>
! ;; Version: 1.6.3
;; Keywords: comm languages processes
;; URL: http://www.emacswiki.org/cgi-bin/wiki.pl?SqlMode
--- 4,10 ----
;; Author: Alex Schroeder <alex@gnu.org>
;; Maintainer: Alex Schroeder <alex@gnu.org>
! ;; Version: 1.6.4
;; Keywords: comm languages processes
;; URL: http://www.emacswiki.org/cgi-bin/wiki.pl?SqlMode
***************
*** 531,536 ****
--- 531,538 ----
(modify-syntax-entry ?\f "> b" table)
;; single quotes (') quotes delimit strings
(modify-syntax-entry ?' "\"" table)
+ ;; backslash is no escape character
+ (modify-syntax-entry ?\\ "." table)
table)
"Syntax table used in `sql-mode' and `sql-interactive-mode'.")