diff options
author | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-08-22 12:18:33 +0200 |
---|---|---|
committer | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-08-22 12:18:33 +0200 |
commit | a385be02219abc1fd751908e559286dc1a370e12 (patch) | |
tree | 8f681f58c1121fea4a5ee252a04f83d643a988a7 /qtmips_asm/simpleasm.h | |
parent | 4dd9058da959ef5adb33de2689a85d84270f07b3 (diff) | |
download | qtmips-a385be02219abc1fd751908e559286dc1a370e12.tar.gz qtmips-a385be02219abc1fd751908e559286dc1a370e12.tar.bz2 qtmips-a385be02219abc1fd751908e559286dc1a370e12.zip |
Provide support for include directive in simple assembler.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Diffstat (limited to 'qtmips_asm/simpleasm.h')
-rw-r--r-- | qtmips_asm/simpleasm.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/qtmips_asm/simpleasm.h b/qtmips_asm/simpleasm.h index 773aa39..f97904d 100644 --- a/qtmips_asm/simpleasm.h +++ b/qtmips_asm/simpleasm.h @@ -37,6 +37,7 @@ #define SIMPLEASM_H #include <QString> +#include <QStringList> #include "fixmatheval.h" #include "qtmipsmachine.h" #include "messagetype.h" @@ -72,6 +73,7 @@ public: int line_number = 0, QString *error_ptr = nullptr); bool finish(QString *error_ptr = nullptr); private: + QStringList include_stack; bool error_occured; bool fatal_occured; SymbolTableDb *symtab; |