From 1116d7c23805a264457ef9c35e5cff4d83ef6e29 Mon Sep 17 00:00:00 2001 From: "Navid C. Constantinou" Date: Wed, 19 Jul 2023 13:06:55 +0300 Subject: [PATCH] rename env var JULIA_USE_NEW_PARSER -> JULIA_USE_FLISP_PARSER --- HISTORY.md | 2 +- base/Base.jl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/HISTORY.md b/HISTORY.md index a4448497380c5..1c3665e8031e2 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -4,7 +4,7 @@ New language features --------------------- * JuliaSyntax.jl is now used as the default parser, providing better diagnostics and faster - parsing. Set environment variable `JULIA_USE_NEW_PARSER` to `0` to switch back to the old + parsing. Set environment variable `JULIA_USE_FLISP_PARSER` to `1` to switch back to the old parser if necessary (and if you find this necessary, please file an issue) ([#46372]). * `⥺` (U+297A, `\leftarrowsubset`) and `⥷` (U+2977, `\leftarrowless`) may now be used as binary operators with arrow precedence. ([#45962]) diff --git a/base/Base.jl b/base/Base.jl index 1fc20293aa384..0ec70add2a2c4 100644 --- a/base/Base.jl +++ b/base/Base.jl @@ -604,7 +604,7 @@ function __init__() _require_world_age[] = get_world_counter() # Prevent spawned Julia process from getting stuck waiting on Tracy to connect. delete!(ENV, "JULIA_WAIT_FOR_TRACY") - if get_bool_env("JULIA_USE_NEW_PARSER", true) === true + if get_bool_env("JULIA_USE_FLISP_PARSER", false) === false JuliaSyntax.enable_in_core!() end nothing