summaryrefslogtreecommitdiff
path: root/src/parse/preproc.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/parse/preproc.hpp')
-rw-r--r--src/parse/preproc.hpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/parse/preproc.hpp b/src/parse/preproc.hpp
new file mode 100644
index 00000000..bedb3076
--- /dev/null
+++ b/src/parse/preproc.hpp
@@ -0,0 +1,20 @@
+#ifndef PREPROC_H
+#define PREPROC_H
+
+#include "lex.hpp"
+
+class Preproc:
+ public TokenStream
+{
+ Lexer m_lex;
+
+public:
+ Preproc(::std::string path);
+ ~Preproc();
+
+ virtual Token realGetToken();
+private:
+ Token getTokenInt();
+};
+
+#endif // PREPROC_H