Skip to content

Commit

Permalink
gas64 : improvement of message when internal errors arise in gas64 em…
Browse files Browse the repository at this point in the history
…itter
  • Loading branch information
SARG-FB committed Oct 13, 2023
1 parent 2564abb commit fec1eca
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/compiler/ir-gas64.bas
Expand Up @@ -155,12 +155,12 @@ declare sub cfi_windows_asm_code(byval statement as string)
#endif

#macro asm_error(s)
hWriteasm64("")
asm_info(String(len(s)+10,"*"))
asm_info("* ERROR "+s+" *")
asm_info(String(len(s)+10,"*"))
asm_code("FOUND AN ERROR : "+s)
hWriteasm64("")
hWriteasm64("#")
asm_code("Report to Freebasic devs Internal Error in gas64 emitter : "+s)
hWriteasm64("#")
#endmacro

#define NEWLINE2 NEWLINE+string( ctx.indent*3, 32 )
Expand Down

0 comments on commit fec1eca

Please sign in to comment.