From xemacs-m  Sat Jun 14 03:35:46 1997
Received: from jagor.srce.hr (hniksic@jagor.srce.hr [161.53.2.130])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id DAA26896
	for <xemacs-beta@xemacs.org>; Sat, 14 Jun 1997 03:35:44 -0500 (CDT)
Received: (from hniksic@localhost)
          by jagor.srce.hr (8.8.5/8.8.4)
	  id KAA27777; Sat, 14 Jun 1997 10:35:44 +0200 (MET DST)
To: XEmacs Developers <xemacs-beta@xemacs.org>
Subject: Re: ebola in psgml-parse.el
References: <ruipvtp7gpk.fsf@goaway.cc.monash.edu.au>
X-Attribution: Hrv
X-Face: Mie8:rOV<\c/~z{s.X4A{!?vY7{drJ([U]0O=W/<W*SMo/Mv:58:*_y~ki>xDi&N7XG
        KV^$k0m3Oe/)'e%3=$PCR&3ITUXH,cK>]bci&<qQ>Ff%x_>1`T(+M2Gg/fgndU%k*ft
        [(7._6e0n-V%|%'[c|q:;}td$#INd+;?!-V=c8Pqf}3J
From: Hrvoje Niksic <hniksic@srce.hr>
Date: 14 Jun 1997 10:35:43 +0200
In-Reply-To: Andrew J Cosgriff's message of Sat, 14 Jun 1997 18:04:55 +1000
Message-ID: <kigafkt60ps.fsf@jagor.srce.hr>
Lines: 26
X-Mailer: Gnus v5.4.52/XEmacs 20.3(beta6)

Andrew J Cosgriff <Andrew.Cosgriff@cc.monash.edu.au> writes:

> Having peeked at some other vaccines, I came up with this patch which
> makes it work.

Cool.  A minor nit: since it's a constant, there is no need to create
a char using `int-char' -- for example, the patch could have looked
like this:

--- psgml-parse.el~	Sun Mar 16 14:05:41 1997
+++ psgml-parse.el	Sat Jun 14 18:01:04 1997
@@ -1035,7 +1035,7 @@
 	 (sgml-read-nodes (make-vector n nil)))
     (loop for i below n do (aset sgml-read-nodes i (sgml-make-state)))
     (loop for e across sgml-read-nodes do
-	  (cond ((eq 255 (sgml-read-peek))	; a and-node
+	  (cond ((eq ?\377 (sgml-read-peek))	; a and-node
 		 (sgml-read-octet)		; skip
 		 (setf (sgml-and-node-next e) (sgml-read-node-ref))
 		 (setf (sgml-and-node-dfas e) (sgml-read-model-seq)))

-- 
Hrvoje Niksic <hniksic@srce.hr> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
Unspeakable horrors from outer space paralyze the living and
resurrect the dead!

