Hi Pelle,
Poasm does not approve the symbol .var beginning with a dot :
.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
poasm.exe /AIA32 Test.asm
Test.asm(18): error: Symbol '' is undefined.
Test.asm(16): warning: Symbol '.var' is never used.
Tested with Poasm Version 12.00.1
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...