aboutsummaryrefslogtreecommitdiff
path: root/gcc/xml.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/xml.h')
-rw-r--r--gcc/xml.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/xml.h b/gcc/xml.h
index 523a44d..3c5813a 100644
--- a/gcc/xml.h
+++ b/gcc/xml.h
@@ -29,6 +29,7 @@ struct node;
struct node_with_children;
struct document;
struct element;
+ struct doctypedecl;
struct node
{
@@ -72,6 +73,13 @@ struct document : public node_with_children
{
void write_as_xml (pretty_printer *pp,
int depth, bool indent) const final override;
+
+ std::unique_ptr<doctypedecl> m_doctypedecl;
+};
+
+struct doctypedecl : public node
+{
+ // still abstract
};
struct element : public node_with_children