From 5cfd214b680339f496a630d8be236382ff5090fe Mon Sep 17 00:00:00 2001 From: Nikolay Nikolov Date: Sun, 21 Jul 2024 18:13:42 +0300 Subject: [PATCH] * fixed WebAssembly inline asm parsing bug for the global.get/global.set ID instruction --- compiler/wasm32/rawasmtext.pas | 1 + 1 file changed, 1 insertion(+) 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);