Move RPN buffer encoding logic into rpn.cpp

This commit is contained in:
Rangi42
2025-09-03 22:36:00 -04:00
parent c798500563
commit c5c2800f17
4 changed files with 89 additions and 77 deletions

View File

@@ -12,10 +12,12 @@
struct Expression;
struct FileStackNode;
struct Symbol;
enum StateFeature { STATE_EQU, STATE_VAR, STATE_EQUS, STATE_CHAR, STATE_MACRO, NB_STATE_FEATURES };
void out_RegisterNode(std::shared_ptr<FileStackNode> node);
void out_RegisterSymbol(Symbol &sym);
void out_CreatePatch(uint32_t type, Expression const &expr, uint32_t ofs, uint32_t pcShift);
void out_CreateAssert(
AssertionType type, Expression const &expr, std::string const &message, uint32_t ofs