Mercurial > hg-old > index.cgi
comparison lwasm/lwasm.c @ 394:a2f52e97b454
Actually show name of file and line number where error occurred
author | lost@l-w.ca |
---|---|
date | Fri, 23 Jul 2010 16:23:54 -0600 |
parents | c1d83336e1d1 |
children | 1d69ed28f175 |
comparison
equal
deleted
inserted
replaced
393:c94436adce83 | 394:a2f52e97b454 |
---|---|
782 } | 782 } |
783 for (e = cl -> warn; e; e = e -> next) | 783 for (e = cl -> warn; e; e = e -> next) |
784 { | 784 { |
785 fprintf(stderr, "WARNING: %s\n", e -> mess); | 785 fprintf(stderr, "WARNING: %s\n", e -> mess); |
786 } | 786 } |
787 | 787 fprintf(stderr, "%s:%05d %s\n\n", cl -> linespec, cl -> lineno, cl -> ltext); |
788 fprintf(stderr, " LINE: %s\n", cl -> ltext); | |
789 } | 788 } |
790 } | 789 } |
791 | 790 |
792 /* | 791 /* |
793 this does any passes and other gymnastics that might be useful | 792 this does any passes and other gymnastics that might be useful |