changeset 105650:0412ef1b2214

(semantic-grammar--lex-delim-spec): All errors should have messages.
author Glenn Morris <rgm@gnu.org>
date Sat, 17 Oct 2009 03:16:38 +0000
parents 8606d8028876
children 1bab58491dc5
files lisp/ChangeLog lisp/cedet/semantic/grammar.el
diffstat 2 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Sat Oct 17 03:15:53 2009 +0000
+++ b/lisp/ChangeLog	Sat Oct 17 03:16:38 2009 +0000
@@ -1,5 +1,8 @@
 2009-10-17  Glenn Morris  <rgm@gnu.org>
 
+	* cedet/semantic/grammar.el (semantic-grammar--lex-delim-spec):
+	All errors should have messages.
+
 	* foldout.el (foldout-mouse-swallow-events):
 	* gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
 
--- a/lisp/cedet/semantic/grammar.el	Sat Oct 17 03:15:53 2009 +0000
+++ b/lisp/cedet/semantic/grammar.el	Sat Oct 17 03:16:38 2009 +0000
@@ -690,7 +690,7 @@
                  (car delim-spec) (symbolp (car delim-spec))
                  (cadr delim-spec) (symbolp (cadr delim-spec)))
             delim-spec
-          (error)))
+          (error "Invalid delimiter")))
     (error
      (error "Invalid delimiters specification %s in block token %s"
             (cdr block-spec) (car block-spec)))))