Mercurial > emacs
comparison lisp/progmodes/ebnf-ebx.el @ 60917:87f9bb9d3718
* 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'.
author | Werner LEMBERG <wl@gnu.org> |
---|---|
date | Fri, 25 Mar 2005 08:47:00 +0000 |
parents | fc6e53c00fcf |
children | 2bca9aad87e8 4da4a09e8b1b |
comparison
equal
deleted
inserted
replaced
60916:480134f8cd16 | 60917:87f9bb9d3718 |
---|---|
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> |
7 ;; Time-stamp: <2004/04/03 16:45:34 vinicius> | 7 ;; Time-stamp: <2004/04/03 16:45:34 vinicius> |
8 ;; Keywords: wp, ebnf, PostScript | 8 ;; Keywords: wp, ebnf, PostScript |
451 ;; end of input | 451 ;; end of input |
452 ((>= (point) ebnf-limit) | 452 ((>= (point) ebnf-limit) |
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) |
460 ;; terminal: #x [0-9A-Fa-f]+ | 460 ;; terminal: #x [0-9A-Fa-f]+ |
461 ((eq token 'hash) | 461 ((eq token 'hash) |