mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-21 10:42:07 +00:00
Add -B/--backtrace option to RGBASM and RGBLINK (#1787)
This commit is contained in:
@@ -53,12 +53,15 @@ struct DiagnosticsState {
|
||||
bool warningsAreErrors = false;
|
||||
};
|
||||
|
||||
static constexpr uint64_t TRACE_COLLAPSE = UINT64_MAX;
|
||||
|
||||
template<typename L, typename W>
|
||||
struct Diagnostics {
|
||||
std::vector<WarningFlag<L>> metaWarnings;
|
||||
std::vector<WarningFlag<L>> warningFlags;
|
||||
std::vector<ParamWarning<W>> paramWarnings;
|
||||
DiagnosticsState<W> state;
|
||||
uint64_t traceDepth;
|
||||
uint64_t nbErrors;
|
||||
|
||||
void incrementErrors() {
|
||||
|
||||
Reference in New Issue
Block a user