sdcc: link errors no longer vanish if compile errors occur
This commit is contained in:
parent
dbe73c4fb2
commit
0ede0e514b
|
@ -146,6 +146,9 @@ export function linkSDLDZ80(step: BuildStep) {
|
||||||
args.push.apply(args, step.args);
|
args.push.apply(args, step.args);
|
||||||
//console.log(args);
|
//console.log(args);
|
||||||
execMain(step, LDZ80, args);
|
execMain(step, LDZ80, args);
|
||||||
|
if (errors.length) {
|
||||||
|
return { errors: errors };
|
||||||
|
}
|
||||||
var hexout = FS.readFile("main.ihx", { encoding: 'utf8' });
|
var hexout = FS.readFile("main.ihx", { encoding: 'utf8' });
|
||||||
var noiout = FS.readFile("main.noi", { encoding: 'utf8' });
|
var noiout = FS.readFile("main.noi", { encoding: 'utf8' });
|
||||||
putWorkFile("main.ihx", hexout);
|
putWorkFile("main.ihx", hexout);
|
||||||
|
|
Loading…
Reference in New Issue