mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Add -B/--backtrace option to RGBASM and RGBLINK (#1787)
This commit is contained in:
@@ -43,7 +43,8 @@ struct FileStackNode {
|
||||
FileStackNode(FileStackNodeType type_, std::variant<std::vector<uint32_t>, std::string> data_)
|
||||
: type(type_), data(data_) {}
|
||||
|
||||
std::string const &dump(uint32_t curLineNo) const;
|
||||
void printBacktrace(uint32_t curLineNo) const;
|
||||
std::vector<std::pair<std::string, uint32_t>> backtrace(uint32_t curLineNo) const;
|
||||
std::string reptChain() const;
|
||||
};
|
||||
|
||||
@@ -51,7 +52,7 @@ struct MacroArgs;
|
||||
|
||||
void fstk_VerboseOutputConfig();
|
||||
|
||||
bool fstk_DumpCurrent();
|
||||
void fstk_TraceCurrent();
|
||||
std::shared_ptr<FileStackNode> fstk_GetFileStack();
|
||||
std::shared_ptr<std::string> fstk_GetUniqueIDStr();
|
||||
MacroArgs *fstk_GetCurrentMacroArgs();
|
||||
|
||||
Reference in New Issue
Block a user