mirror of
git://projects.qi-hardware.com/ben-blinkenlights.git
synced 2024-11-23 15:27:10 +02:00
ioscript/ioscript: allow positions to be redefined
For that purpose, we reset the mapping each time a new set of definitions is encountered.
This commit is contained in:
parent
8816dcfa3c
commit
b4530ffc4d
@ -57,6 +57,7 @@ while (<>) {
|
||||
s/#.*//;
|
||||
next if /^\s*$/;
|
||||
if (/^\S+,(\S+,)*\S+/) {
|
||||
@pos = ();
|
||||
for (split /,/) {
|
||||
die "unknown bit \"$_\"" unless defined $bit{$_};
|
||||
push(@pos, $_);
|
||||
|
Loading…
Reference in New Issue
Block a user