changeset 54625:0018770bf0b3

Doc fix.
author Vinicius Jose Latorre <viniciusjl@ig.com.br>
date Sun, 28 Mar 2004 23:08:29 +0000
parents 0cb54259437a
children 8bcf0c459630
files lisp/ChangeLog lisp/progmodes/ebnf2ps.el
diffstat 2 files changed, 33 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Sun Mar 28 22:49:39 2004 +0000
+++ b/lisp/ChangeLog	Sun Mar 28 23:08:29 2004 +0000
@@ -8,6 +8,13 @@
 	* progmodes/ebnf-ebx.el: New file, implement a parser for EBNF used to
 	specify XML (EBNFX).
 
+	* progmodes/ebnf2ps.el: Doc fix.
+	(ebnf-version): New version number (4.1).
+	(ebnf-syntax): Adjust customization.
+	(ebnf-style-database): Add ebnfx entry.
+	(ebnf-syntax-alist): Add ebnfx initialization.
+	(ebnf-ebx-parser, ebnf-ebx-initialize): Autoloaded funs from ebnf-ebx.
+
 2004-03-28  Nick Roberts  <nick@nick.uklinux.net>
 
 	* progmodes/gdb-ui.el (gdb-ann3, gdb-send-item)
--- a/lisp/progmodes/ebnf2ps.el	Sun Mar 28 22:49:39 2004 +0000
+++ b/lisp/progmodes/ebnf2ps.el	Sun Mar 28 23:08:29 2004 +0000
@@ -5,9 +5,9 @@
 
 ;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br>
 ;; Maintainer: Vinicius Jose Latorre <viniciusjl@ig.com.br>
-;; Time-stamp: <2004/02/29 14:06:59 vinicius>
+;; Time-stamp: <2004/03/28 19:56:21 vinicius>
 ;; Keywords: wp, ebnf, PostScript
-;; Version: 4.0
+;; Version: 4.1
 ;; X-URL: http://www.cpqd.com.br/~vinicius/emacs/
 
 ;; This file is part of GNU Emacs.
@@ -27,8 +27,8 @@
 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 ;; Boston, MA 02111-1307, USA.
 
-(defconst ebnf-version "4.0"
-  "ebnf2ps.el, v 4.0 <2004/02/28 vinicius>
+(defconst ebnf-version "4.1"
+  "ebnf2ps.el, v 4.1 <2004/03/18 vinicius>
 
 Vinicius's last change version.  When reporting bugs, please also
 report the version of Emacs, if any, that ebnf2ps was running with.
@@ -320,6 +320,10 @@
 ;;			setting:
 ;;			`ebnf-yac-ignore-error-recovery'.
 ;;
+;;    `ebnfx'		ebnf2ps recognizes the syntax described in the URL:
+;;		     `http://www.w3.org/TR/2004/REC-xml-20040204/#sec-notation'
+;;		     ("Extensible Markup Language (XML) 1.0 (Third Edition)")
+;;
 ;; Any other value is treated as `ebnf'.
 ;;
 ;; The default value is `ebnf'.
@@ -1679,9 +1683,14 @@
 		setting:
 		`ebnf-yac-ignore-error-recovery'.
 
+   `ebnfx'	ebnf2ps recognizes the syntax described in the URL:
+		`http://www.w3.org/TR/2004/REC-xml-20040204/#sec-notation'
+		(\"Extensible Markup Language (XML) 1.0 (Third Edition)\")
+
 Any other value is treated as `ebnf'."
   :type '(radio :tag "Syntax"
-		(const ebnf) (const abnf) (const iso-ebnf) (const yacc))
+		(const ebnf) (const abnf)  (const iso-ebnf)
+		(const yacc) (const ebnfx))
   :group 'ebnf-syntactic)
 
 
@@ -2393,6 +2402,10 @@
     (yacc
      default
      (ebnf-syntax                      . 'yacc))
+    ;; ebnfx default
+    (ebnfx
+     default
+     (ebnf-syntax                      . 'ebnfx))
     )
   "Style database.
 
@@ -4650,7 +4663,8 @@
   '((iso-ebnf  ebnf-iso-parser  ebnf-iso-initialize)
     (yacc      ebnf-yac-parser  ebnf-yac-initialize)
     (abnf      ebnf-abn-parser  ebnf-abn-initialize)
-    (ebnf      ebnf-bnf-parser  ebnf-bnf-initialize))
+    (ebnf      ebnf-bnf-parser  ebnf-bnf-initialize)
+    (ebnfx     ebnf-ebx-parser  ebnf-ebx-initialize))
   "Alist associating ebnf syntax with a parser and a initializer.")
 
 
@@ -5688,6 +5702,12 @@
 (autoload 'ebnf-yac-initialize        "ebnf-yac"
   "Initializations for Yacc/Bison parser.")
 
+(autoload 'ebnf-ebx-parser            "ebnf-ebx"
+  "EBNFX parser.")
+
+(autoload 'ebnf-ebx-initialize        "ebnf-ebx"
+  "Initializations for EBNFX parser.")
+
 (autoload 'ebnf-eliminate-empty-rules "ebnf-otz"
   "Eliminate empty rules.")