X-Git-Url: https://oss.titaniummirror.com/gitweb/?p=nesc.git;a=blobdiff_plain;f=tools%2Fmigdecode.pm;h=e056f5521f980f5fd332a8d687607eb66fe24b84;hp=82459578378de96260dbddb443c236e79e1746e1;hb=627b462e8421954b5102d839ff203adb3400a8cc;hpb=7b54393e237ed8f23c0c74f0a6cbc8de26c5bf98 diff --git a/tools/migdecode.pm b/tools/migdecode.pm index 8245957..e056f55 100644 --- a/tools/migdecode.pm +++ b/tools/migdecode.pm @@ -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);