diff options
Diffstat (limited to 'util/sconfig/sconfig.y')
-rwxr-xr-x | util/sconfig/sconfig.y | 1 |
1 files changed, 1 insertions, 0 deletions
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 = $<device>$->name_underscore; *c; c++) { if (*c == '/') *c = '_'; + if (*c == '-') *c = '_'; } $<device>$->type = chip; $<device>$->chip = $<device>$; |