aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVinicius Jose Latorre2004-02-29 23:27:07 +0000
committerVinicius Jose Latorre2004-02-29 23:27:07 +0000
commit60df72550d103ac25009939edd01df7ebf2f6fd1 (patch)
treeff19a79005dd1deaa7e714241b0fb2d03874a141
parent05f1c4ec55e17cb72356efac83b0be3e2a89321d (diff)
downloademacs-60df72550d103ac25009939edd01df7ebf2f6fd1.tar.gz
emacs-60df72550d103ac25009939edd01df7ebf2f6fd1.zip
Doc fix.
-rw-r--r--lisp/progmodes/ebnf-iso.el5
-rw-r--r--lisp/progmodes/ebnf-otz.el42
-rw-r--r--lisp/progmodes/ebnf-yac.el4
3 files changed, 46 insertions, 5 deletions
diff --git a/lisp/progmodes/ebnf-iso.el b/lisp/progmodes/ebnf-iso.el
index 148f23d2cab..0d9977d7084 100644
--- a/lisp/progmodes/ebnf-iso.el
+++ b/lisp/progmodes/ebnf-iso.el
@@ -5,7 +5,7 @@
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/22 14:24:55 vinicius> 8;; Time-stamp: <2004/02/29 18:31:33 vinicius>
9;; Keywords: wp, ebnf, PostScript 9;; Keywords: wp, ebnf, PostScript
10;; Version: 1.7 10;; Version: 1.7
11 11
@@ -113,7 +113,8 @@
113;; ISO EBNF accepts the characters given by <character> production above, 113;; ISO EBNF accepts the characters given by <character> production above,
114;; HORIZONTAL TAB (^I), VERTICAL TAB (^K), NEWLINE (^J or ^M) and FORM FEED 114;; HORIZONTAL TAB (^I), VERTICAL TAB (^K), NEWLINE (^J or ^M) and FORM FEED
115;; (^L), any other characters are illegal. But ebnf2ps accepts also the 115;; (^L), any other characters are illegal. But ebnf2ps accepts also the
116;; european 8-bit accentuated characters (from \240 to \377) and underscore. 116;; european 8-bit accentuated characters (from \240 to \377) and underscore
117;; (_).
117;; 118;;
118;; 119;;
119;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 120;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
diff --git a/lisp/progmodes/ebnf-otz.el b/lisp/progmodes/ebnf-otz.el
index aae8906c384..5c98677c334 100644
--- a/lisp/progmodes/ebnf-otz.el
+++ b/lisp/progmodes/ebnf-otz.el
@@ -5,7 +5,7 @@
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/22 14:24:37 vinicius> 8;; Time-stamp: <2004/02/29 18:40:14 vinicius>
9;; Keywords: wp, ebnf, PostScript 9;; Keywords: wp, ebnf, PostScript
10;; Version: 1.0 10;; Version: 1.0
11 11
@@ -38,6 +38,46 @@
38;; See ebnf2ps.el for documentation. 38;; See ebnf2ps.el for documentation.
39;; 39;;
40;; 40;;
41;; Optimizations
42;; -------------
43;;
44;;
45;; *To be implemented*:
46;; left recursion:
47;; A = B | A C B | A C D. ==> A = B {C (B | D)}*.
48;;
49;; right recursion:
50;; A = B | C A. ==> A = {C}* B.
51;; A = B | D | C A | E A. ==> A = { C | E }* ( B | D ).
52;;
53;; optional:
54;; A = B | C B. ==> A = [C] B.
55;; A = B | B C. ==> A = B [C].
56;; A = D | B D | B C D. ==> A = [B [C]] D.
57;;
58;;
59;; *Already implemented*:
60;; left recursion:
61;; A = B | A C. ==> A = B {C}*.
62;; A = B | A B. ==> A = {B}+.
63;; A = | A B. ==> A = {B}*.
64;; A = B | A C B. ==> A = {B || C}+.
65;; A = B | D | A C | A E. ==> A = ( B | D ) { C | E }*.
66;;
67;; optional:
68;; A = B | . ==> A = [B].
69;; A = | B . ==> A = [B].
70;;
71;; factoration:
72;; A = B C | B D. ==> A = B (C | D).
73;; A = C B | D B. ==> A = (C | D) B.
74;; A = B C E | B D E. ==> A = B (C | D) E.
75;;
76;; none:
77;; A = B | C | . ==> A = B | C | .
78;; A = B | C A D. ==> A = B | C A D.
79;;
80;;
41;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 81;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
42 82
43;;; Code: 83;;; Code:
diff --git a/lisp/progmodes/ebnf-yac.el b/lisp/progmodes/ebnf-yac.el
index 199e076ad61..ff097b5195d 100644
--- a/lisp/progmodes/ebnf-yac.el
+++ b/lisp/progmodes/ebnf-yac.el
@@ -5,7 +5,7 @@
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/22 14:24:17 vinicius> 8;; Time-stamp: <2004/02/29 20:23:29 vinicius>
9;; Keywords: wp, ebnf, PostScript 9;; Keywords: wp, ebnf, PostScript
10;; Version: 1.2.1 10;; Version: 1.2.1
11 11
@@ -68,7 +68,7 @@
68;; Name = "[A-Za-z][A-Za-z0-9_.]*". 68;; Name = "[A-Za-z][A-Za-z0-9_.]*".
69;; 69;;
70;; Comment = "/*" "any character, but the sequence \"*/\"" "*/" 70;; Comment = "/*" "any character, but the sequence \"*/\"" "*/"
71;; | "//" "any character" "\\n". 71;; | "//" "any character, but the newline \"\\n\"" "\\n".
72;; 72;;
73;; 73;;
74;; In other words, a valid Name begins with a letter (upper or lower case) 74;; In other words, a valid Name begins with a letter (upper or lower case)