sconfig parser:
authorStefan Reinauer <stepan@coresystems.de>
Mon, 16 Aug 2010 18:21:56 +0000 (18:21 +0000)
committerStefan Reinauer <stepan@openbios.org>
Mon, 16 Aug 2010 18:21:56 +0000 (18:21 +0000)
commit7c1f6b84896465321e3051ed7b153f18328c3b12
tree9d0e168997b37f466d56eb7783b35034ca230934
parent154931c66fcc70424a10f3c99f63e361538cd888
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
util/sconfig/main.c