Skip to content

Commit 608b033

Browse files
committed
fixup!
1 parent 42f45bd commit 608b033

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

base/boot.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -827,7 +827,7 @@ Integer(x::Union{Float16, Float32, Float64}) = Int(x)
827827
# The internal jl_parse will call into Core._parse if not `nothing`.
828828
_parse = nothing
829829

830-
_setparser!(parser) = setglobal!(@__MODULE__, :_parse, parser)
830+
_setparser!(parser) = setglobal!(Core, :_parse, parser)
831831

832832
# support for deprecated uses of internal _apply function
833833
_apply(x...) = Core._apply_iterate(Main.Base.iterate, x...)

base/compiler/compiler.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ include("compiler/bootstrap.jl")
185185
ccall(:jl_set_typeinf_func, Cvoid, (Any,), typeinf_ext_toplevel)
186186

187187
include("compiler/parsing.jl")
188-
Core.set_parser(fl_parse)
188+
Core._setparser!(fl_parse)
189189

190190
end # baremodule Compiler
191191
))

0 commit comments

Comments
 (0)