1 |
;;; ebnf-abn.el --- parser for ABNF (Augmented BNF) |
;;; ebnf-abn.el --- parser for ABNF (Augmented BNF) |
2 |
|
|
3 |
;; Copyright (C) 2004 Free Sofware Foundation, Inc. |
;; Copyright (C) 2004, 2005 Free Sofware Foundation, Inc. |
4 |
|
|
5 |
;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br> |
;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br> |
6 |
;; Maintainer: Vinicius Jose Latorre <viniciusjl@ig.com.br> |
;; Maintainer: Vinicius Jose Latorre <viniciusjl@ig.com.br> |
518 |
'end-of-input) |
'end-of-input) |
519 |
;; error |
;; error |
520 |
((eq token 'error) |
((eq token 'error) |
521 |
(error "Illegal character")) |
(error "Invalid character")) |
522 |
;; end of rule |
;; end of rule |
523 |
((eq token 'end-of-rule) |
((eq token 'end-of-rule) |
524 |
'end-of-rule) |
'end-of-rule) |
600 |
((= (following-char) ?\n) |
((= (following-char) ?\n) |
601 |
t) |
t) |
602 |
(t |
(t |
603 |
(error "Illegal character")) |
(error "Invalid character")) |
604 |
)) |
)) |
605 |
|
|
606 |
|
|