.err* is incomplete
Brought to you by:
japheth
.386
.model flat,stdcall
option casemap:none
.errndef Unicode,Say sth...
.code
start:
ret
end start
Test.asm(4) : Error A2209: Syntax error: Say
http://msdn.microsoft.com/en-US/library/1sab7t6k\(v=vs.110).aspx
Althought it works "pretty well" but I'd like to see "Error A2114: forced error" but not A2209: there is nothing to do with syntax.
When I use "ifdef Unicode" to control jwasm I have to face a lot of "Error A2102: Symbol not defined" and don't know how to fix it.
> there is nothing to do with syntax.
The .ERR* directives expect a text literal as last parameter. Hence you have to enclose the text in angle brackets; a text macro instead of the literal is also ok.
The .ERR[N]DEF directive is somewhat special because Masm doesn't display the text. This is probably just a Masm bug - but JWasm also suppresses the display, while the syntax of the directive is nevertheless checked.