stack traces basically working

This commit is contained in:
Ben Burdette
2021-12-22 19:40:08 -07:00
parent b4a59a5eec
commit bc20e54e00
3 changed files with 78 additions and 17 deletions
+3
View File
@@ -106,6 +106,9 @@ void printCodeLines(std::ostream & out,
const ErrPos & errPos,
const LinesOfCode & loc);
void printAtPos(const ErrPos & pos, std::ostream & out);
struct Trace {
std::optional<ErrPos> pos;
hintformat hint;