From f897fad9b887a5133db6b90354fdac840f792b45 Mon Sep 17 00:00:00 2001 From: don bright Date: Sat, 26 Jan 2013 19:40:47 +0100 Subject: fixup root modifier bug diff --git a/src/MainWindow.h b/src/MainWindow.h index a4835c2..4848db6 100644 --- a/src/MainWindow.h +++ b/src/MainWindow.h @@ -74,7 +74,6 @@ private slots: private: void openFile(const QString &filename); void refreshDocument(); - AbstractNode *find_root_tag(AbstractNode *n); void updateTemporalVariables(); bool fileChangedOnDisk(); bool includesChanged(); diff --git a/src/node.cc b/src/node.cc index 4baf29a..a7a7630 100644 --- a/src/node.cc +++ b/src/node.cc @@ -103,6 +103,7 @@ std::ostream &operator<<(std::ostream &stream, const AbstractNode &node) return stream; } +// Do we have an explicit root node (! modifier)? AbstractNode *find_root_tag(AbstractNode *n) { BOOST_FOREACH(AbstractNode *v, n->children) { -- cgit v0.10.1