# HG changeset patch # User Vinicius Jose Latorre # Date 1078004237 0 # Node ID 6a7a401e1598e0e45804b5d180a86769078e94e1 # Parent 5774986c6ebb3e4ad39f4b67ff83f0fc1a410e78 Doc fix. diff -r 5774986c6ebb -r 6a7a401e1598 lisp/ChangeLog --- a/lisp/ChangeLog Sat Feb 28 21:01:46 2004 +0000 +++ b/lisp/ChangeLog Sat Feb 28 21:37:17 2004 +0000 @@ -8,6 +8,9 @@ * ebnf-abn.el: Doc fix. + * ebnf-bnf.el: Doc fix. + (ebnf-repeat): Code fix. + * ebnf2ps.el: Doc fix. 2004-02-28 Juri Linkov diff -r 5774986c6ebb -r 6a7a401e1598 lisp/progmodes/ebnf-abn.el --- a/lisp/progmodes/ebnf-abn.el Sat Feb 28 21:01:46 2004 +0000 +++ b/lisp/progmodes/ebnf-abn.el Sat Feb 28 21:37:17 2004 +0000 @@ -4,7 +4,7 @@ ;; Author: Vinicius Jose Latorre ;; Maintainer: Vinicius Jose Latorre -;; Time-stamp: <2004/02/23 22:38:59 vinicius> +;; Time-stamp: <2004/02/28 17:40:41 vinicius> ;; Keywords: wp, ebnf, PostScript ;; Version: 1.0 @@ -41,6 +41,8 @@ ;; ----------- ;; ;; See the URL: +;; `http://www.ietf.org/rfc/rfc2234.txt' +;; or ;; `http://www.faqs.org/rfcs/rfc2234.html' ;; or ;; `http://www.rnp.br/ietf/rfc/rfc2234.txt' diff -r 5774986c6ebb -r 6a7a401e1598 lisp/progmodes/ebnf2ps.el --- a/lisp/progmodes/ebnf2ps.el Sat Feb 28 21:01:46 2004 +0000 +++ b/lisp/progmodes/ebnf2ps.el Sat Feb 28 21:37:17 2004 +0000 @@ -5,7 +5,7 @@ ;; Author: Vinicius Jose Latorre ;; Maintainer: Vinicius Jose Latorre -;; Time-stamp: <2004/02/28 17:58:16 vinicius> +;; Time-stamp: <2004/02/28 18:19:37 vinicius> ;; Keywords: wp, ebnf, PostScript ;; Version: 4.0 ;; X-URL: http://www.cpqd.com.br/~vinicius/emacs/ @@ -193,7 +193,10 @@ ;; C D sequence (C occurs before D) ;; C | D alternative (C or D occurs) ;; A - B exception (A excluding B, B without any non-terminal) -;; n * A repetition (A repeats n (integer) times) +;; n * A repetition (A repeats at least n (integer) times) +;; n * n A repetition (A repeats exactly n (integer) times) +;; n * m A repetition (A repeats at least n (integer) and at most +;; m (integer) times) ;; (C) group (expression C is grouped together) ;; [C] optional (C may or not occurs) ;; C+ one or more occurrences of C @@ -217,7 +220,7 @@ ;; ;; exception = repeat [ "-" repeat]. ;; exception ;; -;; repeat = [ integer "*" ] term. ;; repetition +;; repeat = [ integer "*" [ integer ]] term. ;; repetition ;; ;; term = factor ;; | [factor] "+" ;; one-or-more