aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVinicius Jose Latorre2004-03-28 22:41:42 +0000
committerVinicius Jose Latorre2004-03-28 22:41:42 +0000
commit9d59cbb052bb97870a3d28ed6f79e386e13b003e (patch)
tree71cf52f341e9249945af6c4623853579d7d49dd0
parent757caf1c6a48ff0404d9be0fd999417a58235cc7 (diff)
downloademacs-9d59cbb052bb97870a3d28ed6f79e386e13b003e.tar.gz
emacs-9d59cbb052bb97870a3d28ed6f79e386e13b003e.zip
Handle initial comments.
-rw-r--r--lisp/ChangeLog34
-rw-r--r--lisp/progmodes/ebnf-abn.el4
2 files changed, 22 insertions, 16 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 17f39510089..ad3f129726f 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -3,6 +3,8 @@
3 * printing.el (pr-update-menus): Modify interactive declaration. 3 * printing.el (pr-update-menus): Modify interactive declaration.
4 Reported by Drew Adams <drew.adams@oracle.com>. 4 Reported by Drew Adams <drew.adams@oracle.com>.
5 5
6 * progmodes/ebnf-abn.el (ebnf-abn-parser): Handle initial comments.
7
62004-03-28 Nick Roberts <nick@nick.uklinux.net> 82004-03-28 Nick Roberts <nick@nick.uklinux.net>
7 9
8 * progmodes/gdb-ui.el (gdb-ann3, gdb-send-item) 10 * progmodes/gdb-ui.el (gdb-ann3, gdb-send-item)
@@ -945,12 +947,12 @@
945 947
9462004-02-28 Vinicius Jose Latorre <viniciusjl@ig.com.br> 9482004-02-28 Vinicius Jose Latorre <viniciusjl@ig.com.br>
947 949
948 * ebnf-abn.el: Doc fix. 950 * progmodes/ebnf-abn.el: Doc fix.
949 951
950 * ebnf-bnf.el: Doc fix. 952 * progmodes/ebnf-bnf.el: Doc fix.
951 (ebnf-repeat): Code fix. 953 (ebnf-repeat): Code fix.
952 954
953 * ebnf2ps.el: Doc fix. 955 * progmodes/ebnf2ps.el: Doc fix.
954 (ebnf-syntax-directory, ebnf-syntax-file): New funs. 956 (ebnf-syntax-directory, ebnf-syntax-file): New funs.
955 957
9562004-02-28 Juri Linkov <juri@jurta.org> 9582004-02-28 Juri Linkov <juri@jurta.org>
@@ -1016,8 +1018,8 @@
1016 1018
10172004-02-25 Vinicius Jose Latorre <viniciusjl@ig.com.br> 10192004-02-25 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1018 1020
1019 * ebnf2ps.el: Doc fix. For compatibility with Emacs 20, define 1021 * progmodes/ebnf2ps.el: Doc fix. For compatibility with Emacs 20,
1020 assq-delete-all if it's not defined. 1022 define assq-delete-all if it's not defined.
1021 (ebnf-generate-region): Code fix. 1023 (ebnf-generate-region): Code fix.
1022 1024
1023 * printing.el: Doc fix. 1025 * printing.el: Doc fix.
@@ -1026,12 +1028,13 @@
1026 1028
10272004-02-24 Vinicius Jose Latorre <viniciusjl@ig.com.br> 10292004-02-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1028 1030
1029 * ebnf-abn.el: New file, implements an ABNF parser. 1031 * progmodes/ebnf-abn.el: New file, implements an ABNF parser.
1030 1032
1031 * ebnf2ps.el: Doc fix. Accept ABNF (Augmented BNF). New arrow shapes: 1033 * progmodes/ebnf2ps.el: Doc fix. Accept ABNF (Augmented BNF). New
1032 semi-up-hollow, semi-up-full, semi-down-hollow and semi-down-full. 1034 arrow shapes: semi-up-hollow, semi-up-full, semi-down-hollow and
1033 Fix a bug on productions like test = {"test"}* | ( "tt" ["test"] ). 1035 semi-down-full. Fix a bug on productions like test = {"test"}* | (
1034 Reported by Markus Dreyer <mdreyer@ix.urz.uni-heidelberg.de>. 1036 "tt" ["test"] ). Reported by Markus Dreyer
1037 <mdreyer@ix.urz.uni-heidelberg.de>.
1035 (ebnf-version): New version number (4.0). 1038 (ebnf-version): New version number (4.0).
1036 (ebnf-print-directory, ebnf-print-file, ebnf-spool-directory) 1039 (ebnf-print-directory, ebnf-print-file, ebnf-spool-directory)
1037 (ebnf-spool-file, ebnf-eps-directory, ebnf-eps-file) 1040 (ebnf-spool-file, ebnf-eps-directory, ebnf-eps-file)
@@ -1051,18 +1054,19 @@
1051 (ebnf-make-terminal1, ebnf-make-or-more1, ebnf-make-repeat) 1054 (ebnf-make-terminal1, ebnf-make-or-more1, ebnf-make-repeat)
1052 (ebnf-token-repeat): Code fix. 1055 (ebnf-token-repeat): Code fix.
1053 1056
1054 * ebnf-yac.el: Doc fix. Handle Bison pragmas %nonassoc, %right, %left 1057 * progmodes/ebnf-yac.el: Doc fix. Handle Bison pragmas %nonassoc,
1055 and %prec. Suggested by Matthew K. Junker <junker@alum.mit.edu>. 1058 %right, %left and %prec. Suggested by Matthew K. Junker
1059 <junker@alum.mit.edu>.
1056 (ebnf-yac-definitions, ebnf-yac-lex): Code fix. 1060 (ebnf-yac-definitions, ebnf-yac-lex): Code fix.
1057 1061
1058 * ebnf-iso.el: Doc fix. 1062 * progmodes/ebnf-iso.el: Doc fix.
1059 (ebnf-iso-token-table, ebnf-iso-non-terminal-chars): Adjust vars. 1063 (ebnf-iso-token-table, ebnf-iso-non-terminal-chars): Adjust vars.
1060 (ebnf-iso-lex): Code fix. 1064 (ebnf-iso-lex): Code fix.
1061 1065
1062 * ebnf-bnf.el: Doc fix. 1066 * progmodes/ebnf-bnf.el: Doc fix.
1063 (ebnf-bnf-lex): Code fix. 1067 (ebnf-bnf-lex): Code fix.
1064 1068
1065 * ebnf-otz.el: Doc fix. 1069 * progmodes/ebnf-otz.el: Doc fix.
1066 1070
10672004-02-23 Luc Teirlinck <teirllm@auburn.edu> 10712004-02-23 Luc Teirlinck <teirllm@auburn.edu>
1068 1072
diff --git a/lisp/progmodes/ebnf-abn.el b/lisp/progmodes/ebnf-abn.el
index 9c341c5181c..e41d27d0c1f 100644
--- a/lisp/progmodes/ebnf-abn.el
+++ b/lisp/progmodes/ebnf-abn.el
@@ -4,7 +4,7 @@
4 4
5;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br> 5;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br>
6;; Maintainer: Vinicius Jose Latorre <viniciusjl@ig.com.br> 6;; Maintainer: Vinicius Jose Latorre <viniciusjl@ig.com.br>
7;; Time-stamp: <2004/02/28 17:40:41 vinicius> 7;; Time-stamp: <2004/03/18 23:49:58 vinicius>
8;; Keywords: wp, ebnf, PostScript 8;; Keywords: wp, ebnf, PostScript
9;; Version: 1.0 9;; Version: 1.0
10 10
@@ -233,6 +233,8 @@
233 (setq token (ebnf-abn-lex)) 233 (setq token (ebnf-abn-lex))
234 (and (eq token 'end-of-input) 234 (and (eq token 'end-of-input)
235 (error "Invalid ABNF file format")) 235 (error "Invalid ABNF file format"))
236 (and (eq token 'end-of-rule)
237 (setq token (ebnf-abn-lex)))
236 (while (not (eq token 'end-of-input)) 238 (while (not (eq token 'end-of-input))
237 (ebnf-message-float 239 (ebnf-message-float
238 "Parsing...%s%%" 240 "Parsing...%s%%"