summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2009-10-17 03:16:38 +0000
committerGlenn Morris <rgm@gnu.org>2009-10-17 03:16:38 +0000
commit547776f9b0537d5231f7fc864715961b8d916012 (patch)
treecd7f3c5a53e1aa3039a710ac24050aa24eec8b61 /lisp
parent3ee0b4774bd5cc9faec1191c863fcfcc6b5fbeeb (diff)
downloademacs-547776f9b0537d5231f7fc864715961b8d916012.tar.gz
(semantic-grammar--lex-delim-spec): All errors should have messages.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog3
-rw-r--r--lisp/cedet/semantic/grammar.el2
2 files changed, 4 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index bdec771f6e3..1cf7714e80e 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -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.
diff --git a/lisp/cedet/semantic/grammar.el b/lisp/cedet/semantic/grammar.el
index 89d66582d3a..f4d34def561 100644
--- a/lisp/cedet/semantic/grammar.el
+++ b/lisp/cedet/semantic/grammar.el
@@ -690,7 +690,7 @@ The symbols in the list are local variables in
(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)))))