compiler: Move and modernize

compiler is blitzcc, what I previously called compiler is now compiler_lib
This commit is contained in:
Michael Fabian 'Xaymar' Dirks
2019-01-19 18:28:07 +01:00
parent d7fc9de5e2
commit c4947bd12a
79 changed files with 6544 additions and 4853 deletions
+10
View File
@@ -0,0 +1,10 @@
#pragma once
#include <string>
struct BlitzException {
std::string ex; //what happened
int pos; //source offset
std::string file;
BlitzException(const std::string& ex) : ex(ex), pos(-1) {}
BlitzException(const std::string& ex, int pos, const std::string& t) : ex(ex), pos(pos), file(t) {}
};