From f5c13f9db800316cd715145b423a8bfcb8927f06 Mon Sep 17 00:00:00 2001 From: Sebastian Ullrich Date: Fri, 4 Nov 2022 10:55:56 +0100 Subject: [PATCH] chore: `parseQuotWithCurrentStage` and `quotPrecheck` --- src/stdlib_flags.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/stdlib_flags.h b/src/stdlib_flags.h index aae6413ccc..a574103a7f 100644 --- a/src/stdlib_flags.h +++ b/src/stdlib_flags.h @@ -9,6 +9,10 @@ options get_default_options() { opts = opts.update({"interpreter", "prefer_native"}, false); // switch to `true` for changing built-in parsers used in quotations opts = opts.update({"internal", "parseQuotWithCurrentStage"}, false); + // toggling `parseQuotWithCurrentStage` may also require toggling the following option if macros/syntax + // with custom precheck hooks were affected + opts = opts.update({"quotPrecheck"}, true); + opts = opts.update({"pp", "rawOnError"}, true); #endif return opts;