summaryrefslogtreecommitdiff
path: root/lisp/progmodes/ebnf-ebx.el
diff options
context:
space:
mode:
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)?