summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordon bright <hugh.m.bright@gmail.com>2013-01-26 18:40:47 (GMT)
committerdon bright <hugh.m.bright@gmail.com>2013-01-26 18:40:47 (GMT)
commitf897fad9b887a5133db6b90354fdac840f792b45 (patch)
tree93979ca14ec0b0186e1e4eaebe6eea03c9667c04
parent6535b16a31cf23d65f9c4c44a2e97dfdcdd69419 (diff)
fixup root modifier bug
-rw-r--r--src/MainWindow.h1
-rw-r--r--src/node.cc1
2 files changed, 1 insertions, 1 deletions
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) {
contact: Jan Huwald // Impressum