Files
BlitzNext/compiler/ex.hpp
T
Michael Fabian 'Xaymar' Dirks c9ff5b8ca4 compiler: Formatting
2019-01-18 17:04:57 +01:00

13 lines
244 B
C++

#ifndef EX_H
#define EX_H
struct Ex {
string ex; //what happened
int pos; //source offset
string file;
Ex(const string& ex) : ex(ex), pos(-1) {}
Ex(const string& ex, int pos, const string& t) : ex(ex), pos(pos), file(t) {}
};
#endif