config: Access OPT_MUST_SAVE in the real option, not alias.
[elinks/elinks-j605.git] / src / dom / sgml / html / html.c
blobdfdb3ac034b1aa1e781911ec32bc2a90f0ed5b62
1 /* HTML SGML info */
3 #ifdef HAVE_CONFIG_H
4 #include "config.h"
5 #endif
7 #include "elinks.h"
9 #include "dom/sgml/html/html.h"
10 #include "dom/sgml/sgml.h"
13 #define HTML_(node, name, id) SGML_NODE_INFO(HTML, node, name, id)
14 #define HTM2_(node, name, str, id) SGML_NODE_INF2(HTML, node, name, str, id)
15 #undef VERSION
17 static struct sgml_node_info html_attributes[HTML_ATTRIBUTES] = {
18 SGML_NODE_HEAD(HTML, ATTRIBUTE),
20 #include "dom/sgml/html/attribute.inc"
23 static struct sgml_node_info html_elements[HTML_ELEMENTS] = {
24 SGML_NODE_HEAD(HTML, ELEMENT),
26 #include "dom/sgml/html/element.inc"
30 struct sgml_info sgml_html_info = {
31 SGML_DOCTYPE_HTML,
32 html_attributes,
33 html_elements,