aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner LEMBERG2005-03-25 08:47:00 +0000
committerWerner LEMBERG2005-03-25 08:47:00 +0000
commiteac9c0efd68cdd7a65439bb3958da1db56391bc9 (patch)
tree4733654eeb256615e015effdfdcc9f013b633862
parent9d03424549b3ac88a3bb8881f0dec3cc3bce586e (diff)
downloademacs-eac9c0efd68cdd7a65439bb3958da1db56391bc9.tar.gz
emacs-eac9c0efd68cdd7a65439bb3958da1db56391bc9.zip
* 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'.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/progmodes/ebnf-abn.el6
-rw-r--r--lisp/progmodes/ebnf-bnf.el8
-rw-r--r--lisp/progmodes/ebnf-dtd.el6
-rw-r--r--lisp/progmodes/ebnf-ebx.el4
-rw-r--r--lisp/progmodes/ebnf-iso.el8
-rw-r--r--lisp/progmodes/ebnf-yac.el8
-rw-r--r--lisp/progmodes/ebnf2ps.el4
-rw-r--r--lisp/progmodes/idlwave.el7
-rw-r--r--lisp/progmodes/sh-script.el2
-rw-r--r--lisp/progmodes/xscheme.el5
11 files changed, 35 insertions, 28 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 49ffcbe2587..0739e8a0e00 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -8,6 +8,11 @@
8 * eshell/esh-io.el, eshell/esh-var.el: Replace `illegal' with 8 * eshell/esh-io.el, eshell/esh-var.el: Replace `illegal' with
9 `invalid'. 9 `invalid'.
10 * mail/supercite.el: Replace `illegal' with `invalid'. 10 * mail/supercite.el: Replace `illegal' with `invalid'.
11 * progmodes/ebnf-abn.el, progmodes/ebnf-bnf.el,
12 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-iso.el,
13 progmodes/ebnf-yac.el, progmodes/ebnf2ps.el, progmodes/idlwave.el,
14 progmodes/sh-script.el, progmodes/xscheme.el: Replace `illegal' with
15 `invalid'.
11 16
122005-03-24 Stefan Monnier <monnier@iro.umontreal.ca> 172005-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
13 18
diff --git a/lisp/progmodes/ebnf-abn.el b/lisp/progmodes/ebnf-abn.el
index 35771a10f32..5bb0dd03913 100644
--- a/lisp/progmodes/ebnf-abn.el
+++ b/lisp/progmodes/ebnf-abn.el
@@ -1,6 +1,6 @@
1;;; ebnf-abn.el --- parser for ABNF (Augmented BNF) 1;;; ebnf-abn.el --- parser for ABNF (Augmented BNF)
2 2
3;; Copyright (C) 2004 Free Sofware Foundation, Inc. 3;; Copyright (C) 2004, 2005 Free Sofware Foundation, Inc.
4 4
5;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br> 5;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br>
6;; Maintainer: Vinicius Jose Latorre <viniciusjl@ig.com.br> 6;; Maintainer: Vinicius Jose Latorre <viniciusjl@ig.com.br>
@@ -518,7 +518,7 @@ See documentation for variable `ebnf-abn-lex'."
518 'end-of-input) 518 'end-of-input)
519 ;; error 519 ;; error
520 ((eq token 'error) 520 ((eq token 'error)
521 (error "Illegal character")) 521 (error "Invalid character"))
522 ;; end of rule 522 ;; end of rule
523 ((eq token 'end-of-rule) 523 ((eq token 'end-of-rule)
524 'end-of-rule) 524 'end-of-rule)
@@ -600,7 +600,7 @@ See documentation for variable `ebnf-abn-lex'."
600 ((= (following-char) ?\n) 600 ((= (following-char) ?\n)
601 t) 601 t)
602 (t 602 (t
603 (error "Illegal character")) 603 (error "Invalid character"))
604 )) 604 ))
605 605
606 606
diff --git a/lisp/progmodes/ebnf-bnf.el b/lisp/progmodes/ebnf-bnf.el
index d32ad5a77c9..09db8f8865d 100644
--- a/lisp/progmodes/ebnf-bnf.el
+++ b/lisp/progmodes/ebnf-bnf.el
@@ -1,6 +1,6 @@
1;;; ebnf-bnf.el --- parser for EBNF 1;;; ebnf-bnf.el --- parser for EBNF
2 2
3;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 3;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
4;; Free Sofware Foundation, Inc. 4;; Free Sofware Foundation, Inc.
5 5
6;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br> 6;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br>
@@ -461,7 +461,7 @@ See documentation for variable `ebnf-bnf-lex'."
461 'end-of-input) 461 'end-of-input)
462 ;; error 462 ;; error
463 ((eq token 'error) 463 ((eq token 'error)
464 (error "Illegal character")) 464 (error "Invalid character"))
465 ;; default 465 ;; default
466 ((eq token 'default) 466 ((eq token 'default)
467 (forward-char) 467 (forward-char)
@@ -470,7 +470,7 @@ See documentation for variable `ebnf-bnf-lex'."
470 (prog1 470 (prog1
471 (ebnf-bnf-lex) 471 (ebnf-bnf-lex)
472 (setq ebnf-default-p t)) 472 (setq ebnf-default-p t))
473 (error "Illegal `default' element"))) 473 (error "Invalid `default' element")))
474 ;; integer 474 ;; integer
475 ((eq token 'integer) 475 ((eq token 'integer)
476 (setq ebnf-bnf-lex (ebnf-buffer-substring "0-9")) 476 (setq ebnf-bnf-lex (ebnf-buffer-substring "0-9"))
@@ -550,7 +550,7 @@ See documentation for variable `ebnf-bnf-lex'."
550 (forward-char) 550 (forward-char)
551 t) 551 t)
552 (t 552 (t
553 (error "Illegal character")) 553 (error "Invalid character"))
554 )) 554 ))
555 555
556 556
diff --git a/lisp/progmodes/ebnf-dtd.el b/lisp/progmodes/ebnf-dtd.el
index 9a99f222cc8..621cf424463 100644
--- a/lisp/progmodes/ebnf-dtd.el
+++ b/lisp/progmodes/ebnf-dtd.el
@@ -1,6 +1,6 @@
1;;; ebnf-dtd.el --- parser for DTD (Data Type Description for XML) 1;;; ebnf-dtd.el --- parser for DTD (Data Type Description for XML)
2 2
3;; Copyright (C) 2004 Free Sofware Foundation, Inc. 3;; Copyright (C) 2004, 2005 Free Sofware Foundation, Inc.
4 4
5;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br> 5;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br>
6;; Maintainer: Vinicius Jose Latorre <viniciusjl@ig.com.br> 6;; Maintainer: Vinicius Jose Latorre <viniciusjl@ig.com.br>
@@ -1181,7 +1181,7 @@ See documentation for variable `ebnf-dtd-lex'."
1181 'end-of-input) 1181 'end-of-input)
1182 ;; error 1182 ;; error
1183 ((eq token 'error) 1183 ((eq token 'error)
1184 (error "Illegal character")) 1184 (error "Invalid character"))
1185 ;; beginning of declaration: 1185 ;; beginning of declaration:
1186 ;; <?name, <!ATTLIST, <!DOCTYPE, <!ELEMENT, <!ENTITY, <!NOTATION 1186 ;; <?name, <!ATTLIST, <!DOCTYPE, <!ELEMENT, <!ENTITY, <!NOTATION
1187 ((eq token 'less-than) 1187 ((eq token 'less-than)
@@ -1322,7 +1322,7 @@ See documentation for variable `ebnf-dtd-lex'."
1322 (forward-char 3) 1322 (forward-char 3)
1323 t) 1323 t)
1324 (t 1324 (t
1325 (error "Illegal character")) 1325 (error "Invalid character"))
1326 )) 1326 ))
1327 1327
1328 1328
diff --git a/lisp/progmodes/ebnf-ebx.el b/lisp/progmodes/ebnf-ebx.el
index d7dfa7af89f..45ccb956af8 100644
--- a/lisp/progmodes/ebnf-ebx.el
+++ b/lisp/progmodes/ebnf-ebx.el
@@ -1,6 +1,6 @@
1;;; ebnf-ebx.el --- parser for EBNF used to specify XML (EBNFX) 1;;; ebnf-ebx.el --- parser for EBNF used to specify XML (EBNFX)
2 2
3;; Copyright (C) 2004 Free Sofware Foundation, Inc. 3;; Copyright (C) 2004, 2005 Free Sofware Foundation, Inc.
4 4
5;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br> 5;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br>
6;; Maintainer: Vinicius Jose Latorre <viniciusjl@ig.com.br> 6;; Maintainer: Vinicius Jose Latorre <viniciusjl@ig.com.br>
@@ -453,7 +453,7 @@ See documentation for variable `ebnf-ebx-lex'."
453 'end-of-input) 453 'end-of-input)
454 ;; error 454 ;; error
455 ((eq token 'error) 455 ((eq token 'error)
456 (error "Illegal character")) 456 (error "Invalid character"))
457 ;; end of rule 457 ;; end of rule
458 ((eq token 'end-of-rule) 458 ((eq token 'end-of-rule)
459 'end-of-rule) 459 'end-of-rule)
diff --git a/lisp/progmodes/ebnf-iso.el b/lisp/progmodes/ebnf-iso.el
index f36065bd558..ba28dfb5af9 100644
--- a/lisp/progmodes/ebnf-iso.el
+++ b/lisp/progmodes/ebnf-iso.el
@@ -1,6 +1,6 @@
1;;; ebnf-iso.el --- parser for ISO EBNF 1;;; ebnf-iso.el --- parser for ISO EBNF
2 2
3;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 3;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br> 6;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br>
@@ -112,7 +112,7 @@
112;; 112;;
113;; ISO EBNF accepts the characters given by <character> production above, 113;; ISO EBNF accepts the characters given by <character> production above,
114;; HORIZONTAL TAB (^I), VERTICAL TAB (^K), NEWLINE (^J or ^M) and FORM FEED 114;; HORIZONTAL TAB (^I), VERTICAL TAB (^K), NEWLINE (^J or ^M) and FORM FEED
115;; (^L), any other characters are illegal. But ebnf2ps accepts also the 115;; (^L), any other characters are invalid. But ebnf2ps accepts also the
116;; european 8-bit accentuated characters (from \240 to \377) and underscore 116;; european 8-bit accentuated characters (from \240 to \377) and underscore
117;; (_). 117;; (_).
118;; 118;;
@@ -427,7 +427,7 @@ See documentation for variable `ebnf-iso-lex'."
427 'end-of-input) 427 'end-of-input)
428 ;; error 428 ;; error
429 ((eq token 'error) 429 ((eq token 'error)
430 (error "Illegal character")) 430 (error "Invalid character"))
431 ;; integer 431 ;; integer
432 ((eq token 'integer) 432 ((eq token 'integer)
433 (setq ebnf-iso-lex (ebnf-buffer-substring "0-9")) 433 (setq ebnf-iso-lex (ebnf-buffer-substring "0-9"))
@@ -527,7 +527,7 @@ See documentation for variable `ebnf-iso-lex'."
527 (forward-char) 527 (forward-char)
528 (setq pair (1+ pair)))) 528 (setq pair (1+ pair))))
529 (t 529 (t
530 (error "Illegal character")) 530 (error "Invalid character"))
531 )))) 531 ))))
532 532
533 533
diff --git a/lisp/progmodes/ebnf-yac.el b/lisp/progmodes/ebnf-yac.el
index c7bf0e31541..58f422b1714 100644
--- a/lisp/progmodes/ebnf-yac.el
+++ b/lisp/progmodes/ebnf-yac.el
@@ -1,6 +1,6 @@
1;;; ebnf-yac.el --- parser for Yacc/Bison 1;;; ebnf-yac.el --- parser for Yacc/Bison
2 2
3;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 3;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
4;; Free Sofware Foundation, Inc. 4;; Free Sofware Foundation, Inc.
5 5
6;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br> 6;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br>
@@ -346,7 +346,7 @@ See documentation for variable `ebnf-yac-lex'."
346 'end-of-input) 346 'end-of-input)
347 ;; error 347 ;; error
348 ((eq token 'error) 348 ((eq token 'error)
349 (error "Illegal character")) 349 (error "Invalid character"))
350 ;; "string" 350 ;; "string"
351 ((eq token 'string) 351 ((eq token 'string)
352 (setq ebnf-yac-lex (ebnf-get-string)) 352 (setq ebnf-yac-lex (ebnf-get-string))
@@ -425,7 +425,7 @@ See documentation for variable `ebnf-yac-lex'."
425 ((= (following-char) ?\') 425 ((= (following-char) ?\')
426 (ebnf-string " -&(-~" ?\' "character")) 426 (ebnf-string " -&(-~" ?\' "character"))
427 (t 427 (t
428 (error "Illegal character")) 428 (error "Invalid character"))
429 ))) 429 )))
430 (ebnf-yac-skip-spaces)) 430 (ebnf-yac-skip-spaces))
431 431
@@ -476,7 +476,7 @@ See documentation for variable `ebnf-yac-lex'."
476 (forward-char) 476 (forward-char)
477 (setq not-end nil))) 477 (setq not-end nil)))
478 (t 478 (t
479 (error "Illegal character")) 479 (error "Invalid character"))
480 )))) 480 ))))
481 481
482 482
diff --git a/lisp/progmodes/ebnf2ps.el b/lisp/progmodes/ebnf2ps.el
index 1d2f8d630e1..1a680ffa077 100644
--- a/lisp/progmodes/ebnf2ps.el
+++ b/lisp/progmodes/ebnf2ps.el
@@ -1,6 +1,6 @@
1;;; ebnf2ps.el --- translate an EBNF to a syntactic chart on PostScript 1;;; ebnf2ps.el --- translate an EBNF to a syntactic chart on PostScript
2 2
3;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 3;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br> 6;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br>
@@ -5499,7 +5499,7 @@ killed after process termination."
5499 ;;(skip-chars-forward (concat chars "\240-\377") ebnf-limit) 5499 ;;(skip-chars-forward (concat chars "\240-\377") ebnf-limit)
5500 (skip-chars-forward (concat chars ebnf-8-bit-chars) ebnf-limit) 5500 (skip-chars-forward (concat chars ebnf-8-bit-chars) ebnf-limit)
5501 (if (or (eobp) (/= (following-char) eos-char)) 5501 (if (or (eobp) (/= (following-char) eos-char))
5502 (error "Illegal %s: missing `%c'" kind eos-char) 5502 (error "Invalid %s: missing `%c'" kind eos-char)
5503 (forward-char) 5503 (forward-char)
5504 (1- (point)))))) 5504 (1- (point))))))
5505 5505
diff --git a/lisp/progmodes/idlwave.el b/lisp/progmodes/idlwave.el
index 8eba3847308..86ade8dec0f 100644
--- a/lisp/progmodes/idlwave.el
+++ b/lisp/progmodes/idlwave.el
@@ -1,5 +1,6 @@
1;; idlwave.el --- IDL editing mode for GNU Emacs 1;; idlwave.el --- IDL editing mode for GNU Emacs
2;; Copyright (c) 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation 2;; Copyright (c) 1999, 2000, 2001, 2002, 2003, 2004, 2005
3;; Free Software Foundation
3 4
4;; Authors: J.D. Smith <jdsmith@as.arizona.edu> 5;; Authors: J.D. Smith <jdsmith@as.arizona.edu>
5;; Carsten Dominik <dominik@science.uva.nl> 6;; Carsten Dominik <dominik@science.uva.nl>
@@ -5587,7 +5588,7 @@ other completions will be tried.")
5587 (symbolp what) 5588 (symbolp what)
5588 (assoc (symbol-name what) what-list)) 5589 (assoc (symbol-name what) what-list))
5589 what) 5590 what)
5590 (t (error "Illegal WHAT")))) 5591 (t (error "Invalid WHAT"))))
5591 (nil-list '(nil nil nil nil)) 5592 (nil-list '(nil nil nil nil))
5592 (class-list (list nil nil (or class t) nil))) 5593 (class-list (list nil nil (or class t) nil)))
5593 5594
@@ -5656,7 +5657,7 @@ other completions will be tried.")
5656 ((eq what 'class) 5657 ((eq what 'class)
5657 (list nil-list nil-list 'class nil-list nil)) 5658 (list nil-list nil-list 'class nil-list nil))
5658 5659
5659 (t (error "Illegal value for WHAT"))))) 5660 (t (error "Invalid value for WHAT")))))
5660 5661
5661(defun idlwave-completing-read (&rest args) 5662(defun idlwave-completing-read (&rest args)
5662 ;; Completing read, case insensitive 5663 ;; Completing read, case insensitive
diff --git a/lisp/progmodes/sh-script.el b/lisp/progmodes/sh-script.el
index 1e21d10cdc1..39ab54981f2 100644
--- a/lisp/progmodes/sh-script.el
+++ b/lisp/progmodes/sh-script.el
@@ -2388,7 +2388,7 @@ Optional parameter DEPTH (usually 1) says how many to look for."
2388(defun sh-var-value (var &optional ignore-error) 2388(defun sh-var-value (var &optional ignore-error)
2389 "Return the value of variable VAR, interpreting symbols. 2389 "Return the value of variable VAR, interpreting symbols.
2390It can also return t or nil. 2390It can also return t or nil.
2391If an illegal value is found, throw an error unless Optional argument 2391If an invalid value is found, throw an error unless Optional argument
2392IGNORE-ERROR is non-nil." 2392IGNORE-ERROR is non-nil."
2393 (let ((val (symbol-value var))) 2393 (let ((val (symbol-value var)))
2394 (cond 2394 (cond
diff --git a/lisp/progmodes/xscheme.el b/lisp/progmodes/xscheme.el
index 609c7db1e2a..bf1279da8a0 100644
--- a/lisp/progmodes/xscheme.el
+++ b/lisp/progmodes/xscheme.el
@@ -1,6 +1,7 @@
1;;; xscheme.el --- run MIT Scheme under Emacs 1;;; xscheme.el --- run MIT Scheme under Emacs
2 2
3;; Copyright (C) 1986, 1987, 1989, 1990, 2001, 2004 Free Software Foundation, Inc. 3;; Copyright (C) 1986, 1987, 1989, 1990, 2001, 2004, 2005
4;; Free Software Foundation, Inc.
4 5
5;; Maintainer: FSF 6;; Maintainer: FSF
6;; Keywords: languages, lisp 7;; Keywords: languages, lisp
@@ -408,7 +409,7 @@ characters perform useful functions.
408 409
409Commands: 410Commands:
410\\{scheme-debugger-mode-map}" 411\\{scheme-debugger-mode-map}"
411 (error "Illegal entry to scheme-debugger-mode")) 412 (error "Invalid entry to scheme-debugger-mode"))
412 413
413(defun scheme-debugger-mode-initialize () 414(defun scheme-debugger-mode-initialize ()
414 (use-local-map scheme-debugger-mode-map) 415 (use-local-map scheme-debugger-mode-map)