diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2010-08-16 18:21:56 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2010-08-16 18:21:56 +0000 |
commit | 7c1f6b84896465321e3051ed7b153f18328c3b12 (patch) | |
tree | 9d0e168997b37f466d56eb7783b35034ca230934 /util/sconfig/sconfig.l | |
parent | 154931c66fcc70424a10f3c99f63e361538cd888 (diff) |
sconfig parser:
- print erroneous string in error message
- print line numbers starting from 1 instead of 0
- exit with return code 1 on errors
- check return values of fopen operations
- only create output file if input file was parsed without errors
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Patrick Georgi <patrick.georgi@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5701 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/sconfig/sconfig.l')
0 files changed, 0 insertions, 0 deletions