diff --git a/src/MainWindow.h b/src/MainWindow.h index a4835c24..4848db67 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 4baf29ae..a7a76301 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) {