diff options
| -rw-r--r-- | lisp/ChangeLog | 7 | ||||
| -rw-r--r-- | lisp/progmodes/ebnf2ps.el | 32 |
2 files changed, 33 insertions, 6 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 7b1562ca9d4..b1675af3216 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -8,6 +8,13 @@ | |||
| 8 | * progmodes/ebnf-ebx.el: New file, implement a parser for EBNF used to | 8 | * progmodes/ebnf-ebx.el: New file, implement a parser for EBNF used to |
| 9 | specify XML (EBNFX). | 9 | specify XML (EBNFX). |
| 10 | 10 | ||
| 11 | * progmodes/ebnf2ps.el: Doc fix. | ||
| 12 | (ebnf-version): New version number (4.1). | ||
| 13 | (ebnf-syntax): Adjust customization. | ||
| 14 | (ebnf-style-database): Add ebnfx entry. | ||
| 15 | (ebnf-syntax-alist): Add ebnfx initialization. | ||
| 16 | (ebnf-ebx-parser, ebnf-ebx-initialize): Autoloaded funs from ebnf-ebx. | ||
| 17 | |||
| 11 | 2004-03-28 Nick Roberts <nick@nick.uklinux.net> | 18 | 2004-03-28 Nick Roberts <nick@nick.uklinux.net> |
| 12 | 19 | ||
| 13 | * progmodes/gdb-ui.el (gdb-ann3, gdb-send-item) | 20 | * progmodes/gdb-ui.el (gdb-ann3, gdb-send-item) |
diff --git a/lisp/progmodes/ebnf2ps.el b/lisp/progmodes/ebnf2ps.el index 96ec53ac501..fa4e46677b7 100644 --- a/lisp/progmodes/ebnf2ps.el +++ b/lisp/progmodes/ebnf2ps.el | |||
| @@ -5,9 +5,9 @@ | |||
| 5 | 5 | ||
| 6 | ;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br> | 6 | ;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br> |
| 7 | ;; Maintainer: Vinicius Jose Latorre <viniciusjl@ig.com.br> | 7 | ;; Maintainer: Vinicius Jose Latorre <viniciusjl@ig.com.br> |
| 8 | ;; Time-stamp: <2004/02/29 14:06:59 vinicius> | 8 | ;; Time-stamp: <2004/03/28 19:56:21 vinicius> |
| 9 | ;; Keywords: wp, ebnf, PostScript | 9 | ;; Keywords: wp, ebnf, PostScript |
| 10 | ;; Version: 4.0 | 10 | ;; Version: 4.1 |
| 11 | ;; X-URL: http://www.cpqd.com.br/~vinicius/emacs/ | 11 | ;; X-URL: http://www.cpqd.com.br/~vinicius/emacs/ |
| 12 | 12 | ||
| 13 | ;; This file is part of GNU Emacs. | 13 | ;; This file is part of GNU Emacs. |
| @@ -27,8 +27,8 @@ | |||
| 27 | ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, | 27 | ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
| 28 | ;; Boston, MA 02111-1307, USA. | 28 | ;; Boston, MA 02111-1307, USA. |
| 29 | 29 | ||
| 30 | (defconst ebnf-version "4.0" | 30 | (defconst ebnf-version "4.1" |
| 31 | "ebnf2ps.el, v 4.0 <2004/02/28 vinicius> | 31 | "ebnf2ps.el, v 4.1 <2004/03/18 vinicius> |
| 32 | 32 | ||
| 33 | Vinicius's last change version. When reporting bugs, please also | 33 | Vinicius's last change version. When reporting bugs, please also |
| 34 | report the version of Emacs, if any, that ebnf2ps was running with. | 34 | report the version of Emacs, if any, that ebnf2ps was running with. |
| @@ -320,6 +320,10 @@ Please send all bug fixes and enhancements to | |||
| 320 | ;; setting: | 320 | ;; setting: |
| 321 | ;; `ebnf-yac-ignore-error-recovery'. | 321 | ;; `ebnf-yac-ignore-error-recovery'. |
| 322 | ;; | 322 | ;; |
| 323 | ;; `ebnfx' ebnf2ps recognizes the syntax described in the URL: | ||
| 324 | ;; `http://www.w3.org/TR/2004/REC-xml-20040204/#sec-notation' | ||
| 325 | ;; ("Extensible Markup Language (XML) 1.0 (Third Edition)") | ||
| 326 | ;; | ||
| 323 | ;; Any other value is treated as `ebnf'. | 327 | ;; Any other value is treated as `ebnf'. |
| 324 | ;; | 328 | ;; |
| 325 | ;; The default value is `ebnf'. | 329 | ;; The default value is `ebnf'. |
| @@ -1679,9 +1683,14 @@ Valid values are: | |||
| 1679 | setting: | 1683 | setting: |
| 1680 | `ebnf-yac-ignore-error-recovery'. | 1684 | `ebnf-yac-ignore-error-recovery'. |
| 1681 | 1685 | ||
| 1686 | `ebnfx' ebnf2ps recognizes the syntax described in the URL: | ||
| 1687 | `http://www.w3.org/TR/2004/REC-xml-20040204/#sec-notation' | ||
| 1688 | (\"Extensible Markup Language (XML) 1.0 (Third Edition)\") | ||
| 1689 | |||
| 1682 | Any other value is treated as `ebnf'." | 1690 | Any other value is treated as `ebnf'." |
| 1683 | :type '(radio :tag "Syntax" | 1691 | :type '(radio :tag "Syntax" |
| 1684 | (const ebnf) (const abnf) (const iso-ebnf) (const yacc)) | 1692 | (const ebnf) (const abnf) (const iso-ebnf) |
| 1693 | (const yacc) (const ebnfx)) | ||
| 1685 | :group 'ebnf-syntactic) | 1694 | :group 'ebnf-syntactic) |
| 1686 | 1695 | ||
| 1687 | 1696 | ||
| @@ -2393,6 +2402,10 @@ See also `ebnf-syntax-buffer'." | |||
| 2393 | (yacc | 2402 | (yacc |
| 2394 | default | 2403 | default |
| 2395 | (ebnf-syntax . 'yacc)) | 2404 | (ebnf-syntax . 'yacc)) |
| 2405 | ;; ebnfx default | ||
| 2406 | (ebnfx | ||
| 2407 | default | ||
| 2408 | (ebnf-syntax . 'ebnfx)) | ||
| 2396 | ) | 2409 | ) |
| 2397 | "Style database. | 2410 | "Style database. |
| 2398 | 2411 | ||
| @@ -4650,7 +4663,8 @@ killed after process termination." | |||
| 4650 | '((iso-ebnf ebnf-iso-parser ebnf-iso-initialize) | 4663 | '((iso-ebnf ebnf-iso-parser ebnf-iso-initialize) |
| 4651 | (yacc ebnf-yac-parser ebnf-yac-initialize) | 4664 | (yacc ebnf-yac-parser ebnf-yac-initialize) |
| 4652 | (abnf ebnf-abn-parser ebnf-abn-initialize) | 4665 | (abnf ebnf-abn-parser ebnf-abn-initialize) |
| 4653 | (ebnf ebnf-bnf-parser ebnf-bnf-initialize)) | 4666 | (ebnf ebnf-bnf-parser ebnf-bnf-initialize) |
| 4667 | (ebnfx ebnf-ebx-parser ebnf-ebx-initialize)) | ||
| 4654 | "Alist associating ebnf syntax with a parser and a initializer.") | 4668 | "Alist associating ebnf syntax with a parser and a initializer.") |
| 4655 | 4669 | ||
| 4656 | 4670 | ||
| @@ -5688,6 +5702,12 @@ killed after process termination." | |||
| 5688 | (autoload 'ebnf-yac-initialize "ebnf-yac" | 5702 | (autoload 'ebnf-yac-initialize "ebnf-yac" |
| 5689 | "Initializations for Yacc/Bison parser.") | 5703 | "Initializations for Yacc/Bison parser.") |
| 5690 | 5704 | ||
| 5705 | (autoload 'ebnf-ebx-parser "ebnf-ebx" | ||
| 5706 | "EBNFX parser.") | ||
| 5707 | |||
| 5708 | (autoload 'ebnf-ebx-initialize "ebnf-ebx" | ||
| 5709 | "Initializations for EBNFX parser.") | ||
| 5710 | |||
| 5691 | (autoload 'ebnf-eliminate-empty-rules "ebnf-otz" | 5711 | (autoload 'ebnf-eliminate-empty-rules "ebnf-otz" |
| 5692 | "Eliminate empty rules.") | 5712 | "Eliminate empty rules.") |
| 5693 | 5713 | ||