ldgen: Improve error output when linker input is invalid, don't create output file until end of process

This commit is contained in:
Angus Gratton
2018-11-29 11:46:54 +11:00
committed by Angus Gratton
parent 2c7fc07aae
commit d4a5682e7d
5 changed files with 47 additions and 17 deletions

View File

@@ -1,4 +1,3 @@
#!/usr/bin/env python
#
# Copyright 2018-2019 Espressif Systems (Shanghai) PTE LTD
#
@@ -84,4 +83,4 @@ class SDKConfig:
("&&", 2, opAssoc.LEFT),
("||", 2, opAssoc.LEFT)])
return grammar
return grammar