summaryrefslogtreecommitdiff
path: root/src/core/parser/stack/ImportIncludeHandler.hpp
diff options
context:
space:
mode:
authorAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-02-15 20:57:27 +0100
committerAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-02-15 20:57:27 +0100
commite2e32eef55406519c744002a404e7e5ca66b29a1 (patch)
tree41069921dd771cd5a308cda0a996bdb5dc1c772a /src/core/parser/stack/ImportIncludeHandler.hpp
parent7907e9407f499354e0c3a0a402217b760fab9ad7 (diff)
Declaring States in the Handler classes
Diffstat (limited to 'src/core/parser/stack/ImportIncludeHandler.hpp')
-rw-r--r--src/core/parser/stack/ImportIncludeHandler.hpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/core/parser/stack/ImportIncludeHandler.hpp b/src/core/parser/stack/ImportIncludeHandler.hpp
index 8f3d3d0..6168639 100644
--- a/src/core/parser/stack/ImportIncludeHandler.hpp
+++ b/src/core/parser/stack/ImportIncludeHandler.hpp
@@ -88,6 +88,19 @@ public:
return new IncludeHandler{handlerData, "src"};
}
};
+
+namespace States {
+/**
+ * State representing the "import" command.
+ */
+extern const State Import;
+
+/**
+ * State representing the "include" command.
+ */
+extern const State Include;
+}
+
}
}
#endif