Mercurial > hg > index.cgi
comparison lwlink/script.c @ 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 | fdc11ef4115b |
children | 19df13313b27 |
comparison
equal
deleted
inserted
replaced
66:0359d9f1dfca | 67:554831f03338 |
---|---|
285 linkscript.lines[linkscript.nlines].sectname = lw_strdup(ptr); | 285 linkscript.lines[linkscript.nlines].sectname = lw_strdup(ptr); |
286 linkscript.nlines++; | 286 linkscript.nlines++; |
287 } | 287 } |
288 else | 288 else |
289 { | 289 { |
290 fprintf(stderr, "%s: bad script\n", scriptfile); | 290 fprintf(stderr, "%s: bad script line: %s\n", scriptfile, line); |
291 exit(1); | 291 exit(1); |
292 } | 292 } |
293 lw_free(line); | 293 lw_free(line); |
294 } | 294 } |
295 | 295 |