From aa07b3edf4ed322975cd443f41f38af9798a745d Mon Sep 17 00:00:00 2001 From: Jonas Fonseca Date: Fri, 30 Dec 2005 22:13:13 +0100 Subject: [PATCH] Fix old (non) problem with using VERSION identifier by #undef'ing it first --- src/dom/sgml/html/attribute.inc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/dom/sgml/html/attribute.inc b/src/dom/sgml/html/attribute.inc index e7372c2c..528e2ea2 100644 --- a/src/dom/sgml/html/attribute.inc +++ b/src/dom/sgml/html/attribute.inc @@ -2,6 +2,8 @@ /* This list is made from http://www.w3.org/TR/REC-html40/index/attributes.html * unless otherwise noted. */ +#undef VERSION + HTML_(ATTRIBUTE, ABBR, 0), HTML_(ATTRIBUTE, ACCEPT, 0), HTM2_(ATTRIBUTE, ACCEPT_CHARSET, "ACCEPT-CHARSET", 0), @@ -119,8 +121,7 @@ HTML_(ATTRIBUTE, USEMAP, SGML_ATTRIBUTE_REFERENCE), HTML_(ATTRIBUTE, VALIGN, 0), HTML_(ATTRIBUTE, VALUE, 0), HTML_(ATTRIBUTE, VALUETYPE, 0), -/* XXX: Apparently #VERSION doesn.t work .. some predefined VERSION macro? */ -HTM2_(ATTRIBUTE, VERSION, "VERSION", 0), +HTML_(ATTRIBUTE, VERSION, 0), HTML_(ATTRIBUTE, VISIBILITY, 0), HTML_(ATTRIBUTE, VLINK, 0), HTML_(ATTRIBUTE, VSPACE, 0),