Pelles C > Bug reports

Symbol with a leading dot

(1/1)

Vortex:
Hi Pelle,

Poasm does not approve the symbol .var beginning with a dot :


--- Code: ---.386
.model flat,stdcall
option casemap:none

ExitProcess PROTO :DWORD

.code

start:

    call    main       
    invoke  ExitProcess,0

main PROC

LOCAL .var:DWORD

    lea     eax,.var

    ret

main ENDP

END start

--- End code ---


--- Code: ---poasm.exe /AIA32 Test.asm
--- End code ---


--- Code: ---Test.asm(18): error: Symbol '' is undefined.
Test.asm(16): warning: Symbol '.var' is never used.

--- End code ---

Tested with Poasm Version 12.00.1

Pelle:
This is an known problem, with no good solution.

Without going into too much detail, the basic problem is allowing:
some-directive ../silly/path/filename.ext
rather than:
some-directive "../silly/path/filename.ext"

Accepting the first form (for MASM and backwards compatibility) is starting the problems, and from there it all goes downhill...

Navigation

[0] Message Index

Go to full version