# HG changeset patch # User Werner LEMBERG # Date 1111740420 0 # Node ID 87f9bb9d3718c1bb8f451701a8afd09734a5ba8a # Parent 480134f8cd16971aa88ed13585ea2192d5078a1b * 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'. diff -r 480134f8cd16 -r 87f9bb9d3718 lisp/ChangeLog --- a/lisp/ChangeLog Fri Mar 25 08:38:22 2005 +0000 +++ b/lisp/ChangeLog Fri Mar 25 08:47:00 2005 +0000 @@ -8,6 +8,11 @@ * eshell/esh-io.el, eshell/esh-var.el: Replace `illegal' with `invalid'. * mail/supercite.el: Replace `illegal' with `invalid'. + * 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'. 2005-03-24 Stefan Monnier diff -r 480134f8cd16 -r 87f9bb9d3718 lisp/progmodes/ebnf-abn.el --- a/lisp/progmodes/ebnf-abn.el Fri Mar 25 08:38:22 2005 +0000 +++ b/lisp/progmodes/ebnf-abn.el Fri Mar 25 08:47:00 2005 +0000 @@ -1,6 +1,6 @@ ;;; ebnf-abn.el --- parser for ABNF (Augmented BNF) -;; Copyright (C) 2004 Free Sofware Foundation, Inc. +;; Copyright (C) 2004, 2005 Free Sofware Foundation, Inc. ;; Author: Vinicius Jose Latorre ;; Maintainer: Vinicius Jose Latorre @@ -518,7 +518,7 @@ 'end-of-input) ;; error ((eq token 'error) - (error "Illegal character")) + (error "Invalid character")) ;; end of rule ((eq token 'end-of-rule) 'end-of-rule) @@ -600,7 +600,7 @@ ((= (following-char) ?\n) t) (t - (error "Illegal character")) + (error "Invalid character")) )) diff -r 480134f8cd16 -r 87f9bb9d3718 lisp/progmodes/ebnf-bnf.el --- a/lisp/progmodes/ebnf-bnf.el Fri Mar 25 08:38:22 2005 +0000 +++ b/lisp/progmodes/ebnf-bnf.el Fri Mar 25 08:47:00 2005 +0000 @@ -1,6 +1,6 @@ ;;; ebnf-bnf.el --- parser for EBNF -;; 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 @@ -461,7 +461,7 @@ 'end-of-input) ;; error ((eq token 'error) - (error "Illegal character")) + (error "Invalid character")) ;; default ((eq token 'default) (forward-char) @@ -470,7 +470,7 @@ (prog1 (ebnf-bnf-lex) (setq ebnf-default-p t)) - (error "Illegal `default' element"))) + (error "Invalid `default' element"))) ;; integer ((eq token 'integer) (setq ebnf-bnf-lex (ebnf-buffer-substring "0-9")) @@ -550,7 +550,7 @@ (forward-char) t) (t - (error "Illegal character")) + (error "Invalid character")) )) diff -r 480134f8cd16 -r 87f9bb9d3718 lisp/progmodes/ebnf-dtd.el --- a/lisp/progmodes/ebnf-dtd.el Fri Mar 25 08:38:22 2005 +0000 +++ b/lisp/progmodes/ebnf-dtd.el Fri Mar 25 08:47:00 2005 +0000 @@ -1,6 +1,6 @@ ;;; ebnf-dtd.el --- parser for DTD (Data Type Description for XML) -;; Copyright (C) 2004 Free Sofware Foundation, Inc. +;; Copyright (C) 2004, 2005 Free Sofware Foundation, Inc. ;; Author: Vinicius Jose Latorre ;; Maintainer: Vinicius Jose Latorre @@ -1181,7 +1181,7 @@ 'end-of-input) ;; error ((eq token 'error) - (error "Illegal character")) + (error "Invalid character")) ;; beginning of declaration: ;; ;; Maintainer: Vinicius Jose Latorre @@ -453,7 +453,7 @@ 'end-of-input) ;; error ((eq token 'error) - (error "Illegal character")) + (error "Invalid character")) ;; end of rule ((eq token 'end-of-rule) 'end-of-rule) diff -r 480134f8cd16 -r 87f9bb9d3718 lisp/progmodes/ebnf-iso.el --- a/lisp/progmodes/ebnf-iso.el Fri Mar 25 08:38:22 2005 +0000 +++ b/lisp/progmodes/ebnf-iso.el Fri Mar 25 08:47:00 2005 +0000 @@ -1,6 +1,6 @@ ;;; ebnf-iso.el --- parser for ISO EBNF -;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 +;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 ;; Free Software Foundation, Inc. ;; Author: Vinicius Jose Latorre @@ -112,7 +112,7 @@ ;; ;; ISO EBNF accepts the characters given by production above, ;; HORIZONTAL TAB (^I), VERTICAL TAB (^K), NEWLINE (^J or ^M) and FORM FEED -;; (^L), any other characters are illegal. But ebnf2ps accepts also the +;; (^L), any other characters are invalid. But ebnf2ps accepts also the ;; european 8-bit accentuated characters (from \240 to \377) and underscore ;; (_). ;; @@ -427,7 +427,7 @@ 'end-of-input) ;; error ((eq token 'error) - (error "Illegal character")) + (error "Invalid character")) ;; integer ((eq token 'integer) (setq ebnf-iso-lex (ebnf-buffer-substring "0-9")) @@ -527,7 +527,7 @@ (forward-char) (setq pair (1+ pair)))) (t - (error "Illegal character")) + (error "Invalid character")) )))) diff -r 480134f8cd16 -r 87f9bb9d3718 lisp/progmodes/ebnf-yac.el --- a/lisp/progmodes/ebnf-yac.el Fri Mar 25 08:38:22 2005 +0000 +++ b/lisp/progmodes/ebnf-yac.el Fri Mar 25 08:47:00 2005 +0000 @@ -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 @@ -346,7 +346,7 @@ '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 @@ ((= (following-char) ?\') (ebnf-string " -&(-~" ?\' "character")) (t - (error "Illegal character")) + (error "Invalid character")) ))) (ebnf-yac-skip-spaces)) @@ -476,7 +476,7 @@ (forward-char) (setq not-end nil))) (t - (error "Illegal character")) + (error "Invalid character")) )))) diff -r 480134f8cd16 -r 87f9bb9d3718 lisp/progmodes/ebnf2ps.el --- a/lisp/progmodes/ebnf2ps.el Fri Mar 25 08:38:22 2005 +0000 +++ b/lisp/progmodes/ebnf2ps.el Fri Mar 25 08:47:00 2005 +0000 @@ -1,6 +1,6 @@ ;;; ebnf2ps.el --- translate an EBNF to a syntactic chart on PostScript -;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 +;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 ;; Free Software Foundation, Inc. ;; Author: Vinicius Jose Latorre @@ -5499,7 +5499,7 @@ ;;(skip-chars-forward (concat chars "\240-\377") ebnf-limit) (skip-chars-forward (concat chars ebnf-8-bit-chars) ebnf-limit) (if (or (eobp) (/= (following-char) eos-char)) - (error "Illegal %s: missing `%c'" kind eos-char) + (error "Invalid %s: missing `%c'" kind eos-char) (forward-char) (1- (point)))))) diff -r 480134f8cd16 -r 87f9bb9d3718 lisp/progmodes/idlwave.el --- a/lisp/progmodes/idlwave.el Fri Mar 25 08:38:22 2005 +0000 +++ b/lisp/progmodes/idlwave.el Fri Mar 25 08:47:00 2005 +0000 @@ -1,5 +1,6 @@ ;; idlwave.el --- IDL editing mode for GNU Emacs -;; Copyright (c) 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation +;; Copyright (c) 1999, 2000, 2001, 2002, 2003, 2004, 2005 +;; Free Software Foundation ;; Authors: J.D. Smith ;; Carsten Dominik @@ -5587,7 +5588,7 @@ (symbolp what) (assoc (symbol-name what) what-list)) what) - (t (error "Illegal WHAT")))) + (t (error "Invalid WHAT")))) (nil-list '(nil nil nil nil)) (class-list (list nil nil (or class t) nil))) @@ -5656,7 +5657,7 @@ ((eq what 'class) (list nil-list nil-list 'class nil-list nil)) - (t (error "Illegal value for WHAT"))))) + (t (error "Invalid value for WHAT"))))) (defun idlwave-completing-read (&rest args) ;; Completing read, case insensitive diff -r 480134f8cd16 -r 87f9bb9d3718 lisp/progmodes/sh-script.el --- a/lisp/progmodes/sh-script.el Fri Mar 25 08:38:22 2005 +0000 +++ b/lisp/progmodes/sh-script.el Fri Mar 25 08:47:00 2005 +0000 @@ -2388,7 +2388,7 @@ (defun sh-var-value (var &optional ignore-error) "Return the value of variable VAR, interpreting symbols. It can also return t or nil. -If an illegal value is found, throw an error unless Optional argument +If an invalid value is found, throw an error unless Optional argument IGNORE-ERROR is non-nil." (let ((val (symbol-value var))) (cond diff -r 480134f8cd16 -r 87f9bb9d3718 lisp/progmodes/xscheme.el --- a/lisp/progmodes/xscheme.el Fri Mar 25 08:38:22 2005 +0000 +++ b/lisp/progmodes/xscheme.el Fri Mar 25 08:47:00 2005 +0000 @@ -1,6 +1,7 @@ ;;; xscheme.el --- run MIT Scheme under Emacs -;; Copyright (C) 1986, 1987, 1989, 1990, 2001, 2004 Free Software Foundation, Inc. +;; Copyright (C) 1986, 1987, 1989, 1990, 2001, 2004, 2005 +;; Free Software Foundation, Inc. ;; Maintainer: FSF ;; Keywords: languages, lisp @@ -408,7 +409,7 @@ Commands: \\{scheme-debugger-mode-map}" - (error "Illegal entry to scheme-debugger-mode")) + (error "Invalid entry to scheme-debugger-mode")) (defun scheme-debugger-mode-initialize () (use-local-map scheme-debugger-mode-map)