Mercurial > hg > xemacs-beta
diff lisp/psgml/psgml-parse.el @ 74:54cc21c15cbb r20-0b32
Import from CVS: tag r20-0b32
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:04:33 +0200 |
parents | 131b0175ea99 |
children | c7528f8e288d |
line wrap: on
line diff
--- a/lisp/psgml/psgml-parse.el Mon Aug 13 09:03:47 2007 +0200 +++ b/lisp/psgml/psgml-parse.el Mon Aug 13 09:04:33 2007 +0200 @@ -1,5 +1,5 @@ ;;;; psgml-parse.el --- Parser for SGML-editing mode with parsing support -;; $Id: psgml-parse.el,v 1.1.1.1 1996/12/18 22:43:36 steve Exp $ +;; $Id: psgml-parse.el,v 1.1.1.2 1996/12/21 20:50:41 steve Exp $ ;; Copyright (C) 1994, 1995 Lennart Staflin @@ -465,6 +465,11 @@ (t ;state is a and-state (sgml-get-and-move state token)))) +(defsubst sgml-final (state) + (if (sgml-normal-state-p state) + (sgml-state-final-p state) + (sgml-final-and state))) + (defun sgml-get-and-move (state token) ;; state is a and-state (let ((m (sgml-get-move (sgml-and-state-substate state) token))) @@ -503,11 +508,6 @@ (sgml-tokens-of-moves (sgml-state-reqs (sgml-and-state-next state)))))) -(defsubst sgml-final (state) - (if (sgml-normal-state-p state) - (sgml-state-final-p state) - (sgml-final-and state))) - (defun sgml-final-and (state) (and (sgml-final (sgml-and-state-substate state)) (loop for s in (sgml-and-state-dfas state)