Fix character range regexp. Doc fix.
authorGerd Moellmann <gerd@gnu.org>
Mon, 24 Sep 2001 17:43:45 +0000 (17:43 +0000)
committerGerd Moellmann <gerd@gnu.org>
Mon, 24 Sep 2001 17:43:45 +0000 (17:43 +0000)
(ebnf-yac-skip-chars): New internal const.
(ebnf-yac-skip-code): Fix code.

lisp/ChangeLog
lisp/progmodes/ebnf-yac.el

index c63ce9e..292066c 100644 (file)
@@ -1,3 +1,20 @@
+2001-09-24  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
+
+       * ebnf2ps.el: Eliminate make-local-hook calls.  Doc fix.
+       (ebnf-version): New version (3.6.1).
+
+       * ebnf-bnf.el: Fix character range regexp.  Doc fix.
+       (ebnf-bnf-non-terminal-chars): New internal const.
+       (ebnf-bnf-lex): Fix code.
+
+       * ebnf-iso.el: Fix character range regexp.  Doc fix.
+       (ebnf-iso-non-terminal-chars): New internal const.
+       (ebnf-iso-lex): Fix code.
+
+       * ebnf-yac.el: Fix character range regexp.  Doc fix.
+       (ebnf-yac-skip-chars): New internal const.
+       (ebnf-yac-skip-code): Fix code.
+
 2001-09-24  Stefan Monnier  <monnier@cs.yale.edu>
 
        * pcvs-parse.el (cvs-parse-commit): Expand the file name before
index bff241a..22984d5 100644 (file)
@@ -5,8 +5,8 @@
 ;; Author: Vinicius Jose Latorre <vinicius@cpqd.com.br>
 ;; Maintainer: Vinicius Jose Latorre <vinicius@cpqd.com.br>
 ;; Keywords: wp, ebnf, PostScript
-;; Time-stamp: <2001/08/15 17:15:15 vinicius>
-;; Version: 1.1
+;; Time-stamp: <2001/09/24 10:17:13 vinicius>
+;; Version: 1.2
 
 ;; This file is part of GNU Emacs.
 
@@ -383,14 +383,16 @@ See documentation for variable `ebnf-yac-lex'."
   (< (point) ebnf-limit))
 
 
+;; replace the range "\177-\377" (see `ebnf-range-regexp').
+(defconst ebnf-yac-skip-chars
+  (ebnf-range-regexp "^{}/'\"\000-\010\013\016-\037" ?\177 ?\377))
+
+
 (defun ebnf-yac-skip-code ()
   (forward-char)
   (let ((pair 1))
     (while (> pair 0)
-      ;; replace the range "\177-\377" (see `ebnf-range-regexp').
-      (skip-chars-forward (ebnf-range-regexp "^{}/'\"\000-\010\013\016-\037"
-                                            ?\177 ?\377)
-                         ebnf-limit)
+      (skip-chars-forward ebnf-yac-skip-chars ebnf-limit)
       (cond
        ((= (following-char) ?{)
        (forward-char)