# HG changeset patch # User lost@l-w.ca # Date 1279923834 21600 # Node ID a2f52e97b4546ba218164fc0d47a8125a0e9d918 # Parent c94436adce83ca0a4a053f1c0e8ed50fe823c828 Actually show name of file and line number where error occurred diff -r c94436adce83 -r a2f52e97b454 lwasm/lwasm.c --- a/lwasm/lwasm.c Thu Jul 22 23:11:04 2010 -0600 +++ b/lwasm/lwasm.c Fri Jul 23 16:23:54 2010 -0600 @@ -784,8 +784,7 @@ { fprintf(stderr, "WARNING: %s\n", e -> mess); } - - fprintf(stderr, " LINE: %s\n", cl -> ltext); + fprintf(stderr, "%s:%05d %s\n\n", cl -> linespec, cl -> lineno, cl -> ltext); } }