summaryrefslogtreecommitdiff
path: root/src/parse/preproc.hpp
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2015-03-17 21:49:49 +0800
committerJohn Hodge <tpg@mutabah.net>2015-03-17 21:49:49 +0800
commit3ebea363b19e933df06faf7c1d1ad5d4251c2ca3 (patch)
tree73e47917296dd7411cc49ae8a959d25c3838619b /src/parse/preproc.hpp
parent0c2d1d043d71450ea5087937c97af4c12c6d33fc (diff)
downloadmrust-3ebea363b19e933df06faf7c1d1ad5d4251c2ca3.tar.gz
Rework handling of blocks, add sub-modules
Diffstat (limited to 'src/parse/preproc.hpp')
-rw-r--r--src/parse/preproc.hpp23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/parse/preproc.hpp b/src/parse/preproc.hpp
deleted file mode 100644
index 08fda12d..00000000
--- a/src/parse/preproc.hpp
+++ /dev/null
@@ -1,23 +0,0 @@
-#ifndef PREPROC_H
-#define PREPROC_H
-
-#include "lex.hpp"
-
-class Preproc:
- public TokenStream
-{
- ::std::string m_path;
- unsigned int m_line;
- Lexer m_lex;
-
-public:
- Preproc(::std::string path);
- ~Preproc();
-
- virtual Position getPosition() const override;
- virtual Token realGetToken() override;
-private:
- Token getTokenInt();
-};
-
-#endif // PREPROC_H