|
|
|
|
|
||
|
Error line have following format: kind:module:line:message kind - type of message, can be:
module - name of module where error was occurred
'module' and 'line' part is something different if errors occurs in macros. If we have: ; module 'test.asm' .macro Macro1 goto whe ; error .endm.macro Macro2 1 where = #0 Macro1 .endm start:
message will be: error:test.asm>>Makro2>>Makro1:1:undefined label 'whe' if 'module' have '>>' that means 'calling macro' and 'line' represents line in macro, not in file. So, upper error message means: error in module 'test.asm' calling macro 'Makro2'
This is useful, because most languages that support macros can issue error on line that is not exist, or there is no error on that line. In 'message' part, often you will see word: <something 'something'> Example: start: goto start qwertyerror:test.asm:2:unexpected <identifier 'qwerty'> Words enclosed in < > represents 'detailed description' of error.
|
||
|
|