aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/ebnf-yac.el
diff options
context:
space:
mode:
authorWerner LEMBERG <[email protected]>2005-03-25 08:47:00 +0000
committerWerner LEMBERG <[email protected]>2005-03-25 08:47:00 +0000
commiteac9c0efd68cdd7a65439bb3958da1db56391bc9 (patch)
tree4733654eeb256615e015effdfdcc9f013b633862 /lisp/progmodes/ebnf-yac.el
parent9d03424549b3ac88a3bb8881f0dec3cc3bce586e (diff)
* progmodes/ebnf-abn.el, progmodes/ebnf-bnf.el,
progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-iso.el, progmodes/ebnf-yac.el, progmodes/ebnf2ps.el, progmodes/idlwave.el, progmodes/sh-script.el, progmodes/xscheme.el: Replace `illegal' with `invalid'.
Diffstat (limited to 'lisp/progmodes/ebnf-yac.el')
-rw-r--r--lisp/progmodes/ebnf-yac.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/progmodes/ebnf-yac.el b/lisp/progmodes/ebnf-yac.el
index c7bf0e3154..58f422b171 100644
--- a/lisp/progmodes/ebnf-yac.el
+++ b/lisp/progmodes/ebnf-yac.el
@@ -1,6 +1,6 @@
;;; ebnf-yac.el --- parser for Yacc/Bison
-;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004
+;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
;; Free Sofware Foundation, Inc.
;; Author: Vinicius Jose Latorre <[email protected]>
@@ -346,7 +346,7 @@ See documentation for variable `ebnf-yac-lex'."
'end-of-input)
;; error
((eq token 'error)
- (error "Illegal character"))
+ (error "Invalid character"))
;; "string"
((eq token 'string)
(setq ebnf-yac-lex (ebnf-get-string))
@@ -425,7 +425,7 @@ See documentation for variable `ebnf-yac-lex'."
((= (following-char) ?\')
(ebnf-string " -&(-~" ?\' "character"))
(t
- (error "Illegal character"))
+ (error "Invalid character"))
)))
(ebnf-yac-skip-spaces))
@@ -476,7 +476,7 @@ See documentation for variable `ebnf-yac-lex'."
(forward-char)
(setq not-end nil)))
(t
- (error "Illegal character"))
+ (error "Invalid character"))
))))