Make parser be able to skip tokens when encountering an unexpected token.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2021-01-05 13:20:34 +01:00
parent d9d52554e4
commit b73bfe6482
3 changed files with 33 additions and 27 deletions

5
extern/backward.hpp vendored
View File

@@ -3993,9 +3993,14 @@ namespace backward {
st.load_here(32, reinterpret_cast<void*>(uctx), info->si_addr);
}
std::ofstream outfile;
outfile.open("error.log", std::ios::out | std::ios::trunc);
Printer printer;
printer.address = true;
printer.print(st, outfile);
printer.print(st, stderr);
outfile.close();
#if _XOPEN_SOURCE >= 700 || _POSIX_C_SOURCE >= 200809L
psiginfo(info, nullptr);