sconfig: Mangle - to _ for struct names, too.

Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de>
Acked-by: Patrick Georgi <patrick.georgi@coresystems.de>


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5375 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Patrick Georgi
2010-04-08 12:46:18 +00:00
parent 109a1de1ef
commit 2bbd0c2926
2 changed files with 10 additions and 8 deletions

View File

@@ -163,6 +163,7 @@ chip: CHIP STRING /* == path */ {
char *c;
for (c = $<device>$->name_underscore; *c; c++) {
if (*c == '/') *c = '_';
if (*c == '-') *c = '_';
}
$<device>$->type = chip;
$<device>$->chip = $<device>$;