diff options
| -rw-r--r-- | lisp/ChangeLog | 26 | ||||
| -rw-r--r-- | lisp/progmodes/ebnf-yac.el | 13 |
2 files changed, 35 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index a31586a57b1..12265a8df73 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -9,6 +9,32 @@ | |||
| 9 | * server.el (server-switch-buffer): Choose a window on a visible | 9 | * server.el (server-switch-buffer): Choose a window on a visible |
| 10 | frame. | 10 | frame. |
| 11 | 11 | ||
| 12 | 2000-12-21 Vinicius Jose Latorre <vinicius@cpqd.com.br> | ||
| 13 | |||
| 14 | * ebnf2ps.el: Fix a problem with skip-chars-forward: it doesn't accept | ||
| 15 | ranges like \177-\237, but accepts the character sequence from \177 to | ||
| 16 | \237. Doc fix. | ||
| 17 | (ebnf-version): New version (3.4). | ||
| 18 | (ebnf-setup): Code fix. | ||
| 19 | (ebnf-range-regexp): New fun. | ||
| 20 | (ebnf-8-bit-chars): Const fix. | ||
| 21 | |||
| 22 | * ebnf-bnf.el: Fix the same problem as described on ebnf2ps.el log | ||
| 23 | entry. Doc fix. | ||
| 24 | (ebnf-bnf-lex): Code fix. | ||
| 25 | (ebnf-bnf-comment-chars): Const fix. | ||
| 26 | |||
| 27 | * ebnf-iso.el: Fix the same problem as described on ebnf2ps.el log | ||
| 28 | entry. Doc fix. | ||
| 29 | (ebnf-iso-comment-chars): Const fix. | ||
| 30 | |||
| 31 | * ebnf-otz.el: Doc fix. | ||
| 32 | |||
| 33 | * ebnf-yac.el: Fix the same problem as described on ebnf2ps.el log | ||
| 34 | entry. Doc fix. | ||
| 35 | (ebnf-yac-skip-code): Code fix. | ||
| 36 | (ebnf-yac-comment-chars): Const fix. | ||
| 37 | |||
| 12 | 2000-12-21 Eli Zaretskii <eliz@is.elta.co.il> | 38 | 2000-12-21 Eli Zaretskii <eliz@is.elta.co.il> |
| 13 | 39 | ||
| 14 | * files.el (insert-directory-safely): New function. | 40 | * files.el (insert-directory-safely): New function. |
diff --git a/lisp/progmodes/ebnf-yac.el b/lisp/progmodes/ebnf-yac.el index 5301f409654..a0a7f7048b9 100644 --- a/lisp/progmodes/ebnf-yac.el +++ b/lisp/progmodes/ebnf-yac.el | |||
| @@ -5,8 +5,8 @@ | |||
| 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: <99/11/20 18:02:43 vinicius> | 8 | ;; Time-stamp: <2000/12/19 15:47:23 vinicius> |
| 9 | ;; Version: 1.0 | 9 | ;; Version: 1.1 |
| 10 | 10 | ||
| 11 | ;; This file is part of GNU Emacs. | 11 | ;; This file is part of GNU Emacs. |
| 12 | 12 | ||
| @@ -387,7 +387,10 @@ See documentation for variable `ebnf-yac-lex'." | |||
| 387 | (forward-char) | 387 | (forward-char) |
| 388 | (let ((pair 1)) | 388 | (let ((pair 1)) |
| 389 | (while (> pair 0) | 389 | (while (> pair 0) |
| 390 | (skip-chars-forward "^{}/'\"\000-\010\013\016-\037\177-\377" ebnf-limit) | 390 | ;; replace the range "\177-\377" (see `ebnf-range-regexp'). |
| 391 | (skip-chars-forward (ebnf-range-regexp "^{}/'\"\000-\010\013\016-\037" | ||
| 392 | ?\177 ?\377) | ||
| 393 | ebnf-limit) | ||
| 391 | (cond | 394 | (cond |
| 392 | ((= (following-char) ?{) | 395 | ((= (following-char) ?{) |
| 393 | (forward-char) | 396 | (forward-char) |
| @@ -423,7 +426,9 @@ See documentation for variable `ebnf-yac-lex'." | |||
| 423 | )) | 426 | )) |
| 424 | 427 | ||
| 425 | 428 | ||
| 426 | (defconst ebnf-yac-comment-chars "^*\000-\010\013\016-\037\177-\237") | 429 | ;; replace the range "\177-\237" (see `ebnf-range-regexp'). |
| 430 | (defconst ebnf-yac-comment-chars | ||
| 431 | (ebnf-range-regexp "^*\000-\010\013\016-\037" ?\177 ?\237)) | ||
| 427 | 432 | ||
| 428 | 433 | ||
| 429 | (defun ebnf-yac-skip-comment () | 434 | (defun ebnf-yac-skip-comment () |