From 2bbd0c29261d985e21dc69a731c895ee2791eb4b Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Thu, 8 Apr 2010 12:46:18 +0000 Subject: sconfig: Mangle - to _ for struct names, too. Signed-off-by: Patrick Georgi Acked-by: Patrick Georgi git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5375 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- util/sconfig/sconfig.y | 1 + 1 file changed, 1 insertion(+) (limited to 'util/sconfig/sconfig.y') diff --git a/util/sconfig/sconfig.y b/util/sconfig/sconfig.y index 180ea8a735..06fd206646 100755 --- a/util/sconfig/sconfig.y +++ b/util/sconfig/sconfig.y @@ -163,6 +163,7 @@ chip: CHIP STRING /* == path */ { char *c; for (c = $$->name_underscore; *c; c++) { if (*c == '/') *c = '_'; + if (*c == '-') *c = '_'; } $$->type = chip; $$->chip = $$; -- cgit v1.2.3