Take a look at your DEBUG statements.
It looks like one of them is printing a string that contains "598" followed by an invalid character or value ($51E).
You can see it in the macro calls ...
02250 DEBUG?C 035h
02251 DEBUG?C 039h
02252 DEBUG?C 038h
02253 DEBUG?C 0051Eh
The offending character/constant is from line 2253 in the .asm file.
And above that point in the asm file, you should see the debug line that contains the error (it will be commented).
Find that line in your original source code, and you should see the problem.
Bookmarks