sconfig: Make cur_bus and cur_parent local to the parser.
authorPatrick Georgi <patrick.georgi@coresystems.de>
Wed, 5 May 2010 12:05:25 +0000 (12:05 +0000)
committerPatrick Georgi <patrick.georgi@coresystems.de>
Wed, 5 May 2010 12:05:25 +0000 (12:05 +0000)
commit68befd5d34ce22b03ea78028dc362eec0440f83c
treec5b67ed5900c396cb0d9a57a7ed6ce994bd56b3f
parent114e7b2990cd2b64956ddb271638646ef5108d54
sconfig: Make cur_bus and cur_parent local to the parser.
Instead of accessing them globally, pass them as arguments where necessary.

Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5524 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
util/sconfig/main.c
util/sconfig/sconfig.h
util/sconfig/sconfig.tab.c_shipped
util/sconfig/sconfig.y