summaryrefslogtreecommitdiff
path: root/starmath/inc/node.hxx
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2014-11-09 00:14:29 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2014-11-09 00:27:01 +0900
commitc1358e5dc875bb923f4b5472ba615ebd19f0d057 (patch)
tree84341e9a25ac5805a946f17c2bdaf83863271f48 /starmath/inc/node.hxx
parent1da74e727d7f8703006cfe574b26621d5f674693 (diff)
separate parse.hxx into smaller parts
... so that node.hxx no longer needs to include parse.hxx. Change-Id: Iac1e21c208e3f0e3fd8ece16eee345e81574a0aa
Diffstat (limited to 'starmath/inc/node.hxx')
-rw-r--r--starmath/inc/node.hxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/starmath/inc/node.hxx b/starmath/inc/node.hxx
index 220e30d2ffc9..7949779f4ac9 100644
--- a/starmath/inc/node.hxx
+++ b/starmath/inc/node.hxx
@@ -23,9 +23,11 @@
#include <vector>
#include <ostream>
#include <stdio.h>
+#include <stack>
-#include "parse.hxx"
#include "types.hxx"
+#include "token.hxx"
+#include "error.hxx"
#include "rect.hxx"
#include "format.hxx"
@@ -58,6 +60,7 @@ class SmNode;
class SmStructureNode;
typedef boost::shared_ptr<SmNode> SmNodePointer;
+typedef std::stack< SmNode* > SmNodeStack;
typedef std::vector< SmNode * > SmNodeArray;
typedef std::vector< SmStructureNode * > SmStructureNodeArray;