@@ -259,6 +259,7 @@ vst1(vcx::Validation1Context, st::SyntaxTree)::ValidationResult = @stm st begin
259259 all(vst1, vcx, [argt, lb, ub, bool]) & vst1_lam(vcx, lam)
260260 [K"symboliclabel" lab] -> vst1_ident(vcx, lab; lhs=true)
261261 [K"symbolicgoto" lab] -> vst1_ident(vcx, lab; lhs=true)
262+ [K"oldsymbolicgoto" lab] -> vst1_ident(vcx, lab; lhs=true)
262263 [K"symbolicblock" lab body] ->
263264 vst1_ident(vcx, lab; lhs=true) & vst1(with(vcx; in_symblock=true), body)
264265 [K"gc_preserve" x ids...] -> vst1(vcx, x) & all(vst1_ident, vcx, ids)
@@ -1119,6 +1120,7 @@ function _assert_syntaxtree(st::SyntaxTree, parents::Vector{NodeId}, vr)
11191120 [K"label"] -> (:id,)
11201121 [K"symboliclabel"] -> (:name_val,)
11211122 [K"symbolicgoto"] -> (:name_val,)
1123+ [K"oldsymbolicgoto"] -> (:name_val,)
11221124 [K"Value"] -> (:value,)
11231125 [K"slot"] -> (:var_id,)
11241126 [K"static_parameter"] -> (:var_id,)
@@ -1176,7 +1178,7 @@ vst2(vcx::Validation2Context, st::SyntaxTree) = @stm st begin
11761178 Identifier BindingId Placeholder
11771179 Bool Char Float Float32 BinInt OctInt HexInt Integer
11781180 SourceLocation String Symbol Value core top
1179- latestworld latestworld_if_toplevel symbolicgoto symboliclabel TOMBSTONE
1181+ latestworld latestworld_if_toplevel symbolicgoto oldsymbolicgoto symboliclabel TOMBSTONE
11801182 """ ? pass() : @fail(st, "unrecognized leaf kind")
11811183
11821184 [K"call" [K"static_eval" cg] xs...] -> get(cg, :name_val, nothing) == "cglobal" ?
0 commit comments