]> oss.titaniummirror.com Git - nesc.git/blobdiff - tools/migdecode.pm
Merge tag 'upstream/1.3.4'
[nesc.git] / tools / migdecode.pm
index 82459578378de96260dbddb443c236e79e1746e1..e056f5521f980f5fd332a8d687607eb66fe24b84 100644 (file)
@@ -53,8 +53,8 @@ sub decode() {
        s/\r$//;
 
        / *(.*)/;
-       split / /, $1;
-       ($field, $type, $offset, $bitlength) = @_;
+       @specline = split / /, $1;
+       ($field, $type, $offset, $bitlength) = @specline;
 
        $basetype = &basetype($type);
        @field_array_max = &arraymax($type);