coreboot-kgpe-d16/util/sconfig
Stefan Reinauer 7c1f6b8489 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
2010-08-16 18:21:56 +00:00
..
Makefile.inc make sconfig parser regeneration menu selectable 2010-08-09 13:28:18 +00:00
lex.yy.c_shipped Rename "apic" and "apic_cluster" to "lapic" and "lapic_cluster" 2010-05-05 13:12:42 +00:00
main.c sconfig parser: 2010-08-16 18:21:56 +00:00
sconfig.h Fix build error introduced in r5868. 2010-08-09 12:58:16 +00:00
sconfig.l Rename "apic" and "apic_cluster" to "lapic" and "lapic_cluster" 2010-05-05 13:12:42 +00:00
sconfig.tab.c_shipped Improve the sconfig parser: 2010-05-05 13:13:47 +00:00
sconfig.tab.h_shipped Split C code in sconfig's parser into a separate file. 2010-05-05 11:19:50 +00:00
sconfig.y Improve the sconfig parser: 2010-05-05 13:13:47 +00:00