From 1801a21b50743d7620b2db322a6cb9cabaaabd91 Mon Sep 17 00:00:00 2001 From: Jonas Fonseca Date: Mon, 2 Jan 2006 00:12:13 +0100 Subject: [PATCH] init_sgml_parser(): Rename flags to stack_flags --- src/dom/sgml/parser.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/dom/sgml/parser.c b/src/dom/sgml/parser.c index a0abe226..f0dd9b74 100644 --- a/src/dom/sgml/parser.c +++ b/src/dom/sgml/parser.c @@ -489,7 +489,7 @@ init_sgml_parser(enum sgml_parser_type type, enum sgml_document_type doctype, struct dom_string *uri) { struct sgml_parser *parser; - enum dom_stack_flag flags = 0; + enum dom_stack_flag stack_flags = 0; parser = mem_calloc(1, sizeof(*parser)); if (!parser) return NULL; @@ -503,9 +503,9 @@ init_sgml_parser(enum sgml_parser_type type, enum sgml_document_type doctype, parser->info = get_sgml_info(doctype); if (type == SGML_PARSER_TREE) - flags |= DOM_STACK_KEEP_NODES; + stack_flags |= DOM_STACK_KEEP_NODES; - init_dom_stack(&parser->stack, flags); + init_dom_stack(&parser->stack, stack_flags); /* FIXME: Some sgml backend specific callbacks? Handle HTML script tags, * and feed document.write() data back to the parser. */ add_dom_stack_context(&parser->stack, parser, &sgml_parser_context_info);