changeset 67:554831f03338

Make lwlink more verbose about unrecognized linkscript lines
author lost@l-w.ca
date Sat, 09 Apr 2011 01:44:01 -0600
parents 0359d9f1dfca
children 99ce348b0e6b
files lwlink/script.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lwlink/script.c	Fri Apr 08 21:38:15 2011 -0600
+++ b/lwlink/script.c	Sat Apr 09 01:44:01 2011 -0600
@@ -287,7 +287,7 @@
 		}
 		else
 		{
-			fprintf(stderr, "%s: bad script\n", scriptfile);
+			fprintf(stderr, "%s: bad script line: %s\n", scriptfile, line);
 			exit(1);
 		}
 		lw_free(line);