From 679ffb09d45bc86d8fb98439f7488924070fc7e8 Mon Sep 17 00:00:00 2001 From: Pavel Pisa Date: Mon, 26 Aug 2019 00:44:43 +0200 Subject: Add #pragma processing to integrated assembler and its usage to control windows. Signed-off-by: Pavel Pisa --- qtmips_asm/simpleasm.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'qtmips_asm/simpleasm.h') diff --git a/qtmips_asm/simpleasm.h b/qtmips_asm/simpleasm.h index ac06ca1..8f74577 100644 --- a/qtmips_asm/simpleasm.h +++ b/qtmips_asm/simpleasm.h @@ -74,11 +74,13 @@ public: virtual bool process_file(QString filename, QString *error_ptr = nullptr); bool finish(QString *error_ptr = nullptr); protected: + virtual bool process_pragma(QStringList &operands, QString filename = "", + int line_number = 0, QString *error_ptr = nullptr); bool error_occured; bool fatal_occured; + SymbolTableDb *symtab; private: QStringList include_stack; - SymbolTableDb *symtab; machine::MemoryAccess *mem; machine::RelocExpressionList reloc; std::uint32_t address; -- cgit v1.2.3