xo-reader2: bugfix: detecting toplevel for upsert global var

This commit is contained in:
Roland Conybeare 2026-02-16 19:07:37 -05:00
commit 9fd5bebae9
4 changed files with 45 additions and 5 deletions

View file

@ -232,7 +232,7 @@ namespace xo {
{
const auto & testname = Catch::getResultCapture().getCurrentTestName();
constexpr bool c_debug_flag = false;
constexpr bool c_debug_flag = true;
scope log(XO_DEBUG(c_debug_flag), xtag("test", testname));
ParserFixture fixture(testname, c_debug_flag);