summaryrefslogtreecommitdiff
path: root/lisp/progmodes/ebnf-ebx.el
diff options
context:
space:
mode:
authorVinicius Jose Latorre <viniciusjl@ig.com.br>2004-04-05 02:00:42 +0000
committerVinicius Jose Latorre <viniciusjl@ig.com.br>2004-04-05 02:00:42 +0000
commit6411a60a71653b232e4606d7e40cbbf3cb91f663 (patch)
tree974534ed63f2314681959e3ae27fdad299357d4f /lisp/progmodes/ebnf-ebx.el
parent074930457dbb756869e70b4e30a079fcdb0efc85 (diff)
downloademacs-6411a60a71653b232e4606d7e40cbbf3cb91f663.tar.gz
ebnf2ps 4.2
Diffstat (limited to 'lisp/progmodes/ebnf-ebx.el')
-rw-r--r--lisp/progmodes/ebnf-ebx.el10
1 files changed, 3 insertions, 7 deletions
diff --git a/lisp/progmodes/ebnf-ebx.el b/lisp/progmodes/ebnf-ebx.el
index 4e9fc24ade1..d7dfa7af89f 100644
--- a/lisp/progmodes/ebnf-ebx.el
+++ b/lisp/progmodes/ebnf-ebx.el
@@ -4,9 +4,9 @@
;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br>
;; Maintainer: Vinicius Jose Latorre <viniciusjl@ig.com.br>
-;; Time-stamp: <2004/03/22 08:53:21 vinicius>
+;; Time-stamp: <2004/04/03 16:45:34 vinicius>
;; Keywords: wp, ebnf, PostScript
-;; Version: 1.0
+;; Version: 1.1
;; This file is part of GNU Emacs.
@@ -282,11 +282,7 @@
term (cdr term))
(setq seq (cons term seq)))
(cons token
- (if (= (length seq) 1)
- ;; sequence with only one element
- (car seq)
- ;; a real sequence
- (ebnf-make-sequence (nreverse seq))))))
+ (ebnf-token-sequence seq))))
;;; exception ::= term ('-' term)?