yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
assembly_diagnostic.h
Go to the documentation of this file.
1#ifndef YAZE_CORE_ASSEMBLY_DIAGNOSTIC_H
2#define YAZE_CORE_ASSEMBLY_DIAGNOSTIC_H
3
4#include <cstdint>
5#include <string>
6
7namespace yaze {
8namespace core {
9
11 kError,
13 kNote,
14};
15
16// Structured diagnostic shared across assembler backends (Asar, z3dk).
17// Populated natively by z3dk-core; best-effort parsed from flat strings
18// by the Asar backend so downstream panels can present a uniform view.
21 std::string message;
22 std::string file; // Source file (absolute or relative to patch root)
23 int line = 0; // 1-based; 0 if unknown
24 int column = 0; // 1-based; 0 if unknown
25 std::string raw; // Backend-formatted raw line, if available
26};
27
28} // namespace core
29} // namespace yaze
30
31#endif // YAZE_CORE_ASSEMBLY_DIAGNOSTIC_H
AssemblyDiagnosticSeverity severity