From a385be02219abc1fd751908e559286dc1a370e12 Mon Sep 17 00:00:00 2001 From: Pavel Pisa Date: Thu, 22 Aug 2019 12:18:33 +0200 Subject: Provide support for include directive in simple assembler. Signed-off-by: Pavel Pisa --- qtmips_asm/simpleasm.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'qtmips_asm/simpleasm.h') 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 +#include #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; -- cgit v1.2.3