mirror of
https://github.com/sehugg/8bitworkshop.git
synced 2025-01-03 14:31:36 +00:00
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);
|
||||
//console.log(args);
|
||||
execMain(step, LDZ80, args);
|
||||
if (errors.length) {
|
||||
return { errors: errors };
|
||||
}
|
||||
var hexout = FS.readFile("main.ihx", { encoding: 'utf8' });
|
||||
var noiout = FS.readFile("main.noi", { encoding: 'utf8' });
|
||||
putWorkFile("main.ihx", hexout);
|
||||
|
Loading…
Reference in New Issue
Block a user