aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/progmodes/ebnf-bnf.el14
1 files changed, 7 insertions, 7 deletions
diff --git a/lisp/progmodes/ebnf-bnf.el b/lisp/progmodes/ebnf-bnf.el
index 1b748b3b9c3..acac3a591b4 100644
--- a/lisp/progmodes/ebnf-bnf.el
+++ b/lisp/progmodes/ebnf-bnf.el
@@ -1,12 +1,12 @@
1;;; ebnf-bnf.el --- parser for EBNF 1;;; ebnf-bnf.el --- parser for EBNF
2 2
3;; Copyright (C) 1999, 2000 Free Sofware Foundation, Inc. 3;; Copyright (C) 1999, 2000, 2001 Free Sofware Foundation, Inc.
4 4
5;; Author: Vinicius Jose Latorre <vinicius@cpqd.com.br> 5;; Author: Vinicius Jose Latorre <vinicius@cpqd.com.br>
6;; Maintainer: Vinicius Jose Latorre <vinicius@cpqd.com.br> 6;; Maintainer: Vinicius Jose Latorre <vinicius@cpqd.com.br>
7;; Keywords: wp, ebnf, PostScript 7;; Keywords: wp, ebnf, PostScript
8;; Time-stamp: <2001-07-15 01:02:12 pavel> 8;; Time-stamp: <2001/09/18 21:03:57 vinicius>
9;; Version: 1.5 9;; Version: 1.6
10 10
11;; This file is part of GNU Emacs. 11;; This file is part of GNU Emacs.
12 12
@@ -94,7 +94,7 @@
94;; | "{" body [ "||" body ] "}" ;; zero-or-more 94;; | "{" body [ "||" body ] "}" ;; zero-or-more
95;; . 95;; .
96;; 96;;
97;; non_terminal = "[A-Za-z\\240-\\377][!#%&'*-,0-:<>@-Z\\^-z~\\240-\\377]*". 97;; non_terminal = "[!#%&'*-,0-:<>@-Z\\\\^-z~\\240-\\377]+".
98;; 98;;
99;; terminal = "\\([^\"\\]\\|\\\\[ -~\\240-\\377]\\)+". 99;; terminal = "\\([^\"\\]\\|\\\\[ -~\\240-\\377]\\)+".
100;; 100;;
@@ -469,7 +469,7 @@ See documentation for variable `ebnf-bnf-lex'."
469 ((eq token 'non-terminal) 469 ((eq token 'non-terminal)
470 ;; replace the range "\240-\377" (see `ebnf-range-regexp'). 470 ;; replace the range "\240-\377" (see `ebnf-range-regexp').
471 (setq ebnf-bnf-lex (ebnf-buffer-substring 471 (setq ebnf-bnf-lex (ebnf-buffer-substring
472 (ebnf-range-regexp "!#%&'*-,0-:<>@-Z\\^-z~" 472 (ebnf-range-regexp "!#%&'*-,0-:<>@-Z\\\\^-z~"
473 ?\240 ?\377))) 473 ?\240 ?\377)))
474 (let ((case-fold-search ebnf-case-fold-search) 474 (let ((case-fold-search ebnf-case-fold-search)
475 match) 475 match)