From 04be4f51e449220148fb5816d0b2f6c6282d14d5 Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Mon, 26 Mar 2001 21:23:53 +0000 Subject: [PATCH] - parser.c: Sullivan and Darin found a parser bug, applied the patch. Daniel --- ChangeLog | 5 +++++ parser.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index bb4b16ad..51cd295c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Mon Mar 26 23:21:41 CEST 2001 Daniel Veillard + + * parser.c: Sullivan and Darin found a parser bug, + applied the patch. + Mon Mar 26 18:24:52 CEST 2001 Daniel Veillard * HTMLparser.c HTMLtree.c SAX.c debugXML.c error.c parserInternals.c diff --git a/parser.c b/parser.c index 4b8adba0..cd831fea 100644 --- a/parser.c +++ b/parser.c @@ -6307,7 +6307,7 @@ xmlParseContent(xmlParserCtxtPtr ctxt) { ((RAW != '<') || (NXT(1) != '/'))) { const xmlChar *test = CUR_PTR; int cons = ctxt->input->consumed; - xmlChar tok = ctxt->token; + int tok = ctxt->token; const xmlChar *cur = ctxt->input->cur; /* @@ -7926,7 +7926,7 @@ xmlParseTryOrFinish(xmlParserCtxtPtr ctxt, int terminate) { case XML_PARSER_CONTENT: { const xmlChar *test; int cons; - xmlChar tok; + int tok; /* * Handle preparsed entities and charRef