mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Format linker script error backtraces the same way as others (#1792)
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
%code {
|
||||
#include "link/lexer.hpp"
|
||||
#include "link/layout.hpp"
|
||||
#include "link/warning.hpp"
|
||||
|
||||
yy::parser::symbol_type yylex(); // Provided by layout.cpp
|
||||
}
|
||||
@@ -110,5 +111,5 @@ optional:
|
||||
/******************** Error handler ********************/
|
||||
|
||||
void yy::parser::error(std::string const &msg) {
|
||||
lexer_Error("%s", msg.c_str());
|
||||
scriptError("%s", msg.c_str());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user