Pelles C forum

Pelles C => Bug reports => Topic started by: Vortex on March 23, 2026, 09:03:13 PM

Title: TEXTEQU statement freezing Poasm
Post by: Vortex on March 23, 2026, 09:03:13 PM
Hi Pelle,

This code portion below is freezing Poasm Version 14.00.00 :

.386
.model flat,stdcall
option casemap:none

ExitProcess PROTO :DWORD
MessageBoxA PROTO :DWORD,:DWORD,:DWORD,:DWORD
MessageBoxA TEXTEQU <MessageBoxA>

.code

start:

    invoke  MessageBoxA,0,0,0,0
    invoke  ExitProcess,0

END start

MessageBoxA TEXTEQU <MessageBoxA> is not meaningful but this should not lock the assembler.
Title: Re: TEXTEQU statement freezing Poasm
Post by: Pelle on March 27, 2026, 05:13:39 PM
Quote from: Vortex on March 23, 2026, 09:03:13 PMMessageBoxA TEXTEQU <MessageBoxA> is not meaningful but this should not lock the assembler.
I agree, but not trivial to detect the way this is implemented.
I will have to think about it...
Title: Re: TEXTEQU statement freezing Poasm
Post by: Vortex on March 29, 2026, 08:59:59 PM
Hi Pelle,

Many thanks for the fix in Poasm Version 14.00.1 released with Pelles C 14 RC2
Title: Re: TEXTEQU statement freezing Poasm
Post by: Pelle on March 30, 2026, 09:57:27 AM
You're welcome...  :)