diff --git a/compiler/wasm32/rawasmtext.pas b/compiler/wasm32/rawasmtext.pas index 8f83a520a4..c3e91c97ff 100644 --- a/compiler/wasm32/rawasmtext.pas +++ b/compiler/wasm32/rawasmtext.pas @@ -906,6 +906,7 @@ Unit rawasmtext; result.ops:=1; result.operands[1].opr.typ:=OPR_SYMBOL; result.operands[1].opr.symbol:=thlcgwasm(hlcg).RefStackPointerSym; + Consume(AS_ID); end; else internalerror(2024072002);