X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=tools%2Fmigdecode.pm;fp=tools%2Fmigdecode.pm;h=e056f5521f980f5fd332a8d687607eb66fe24b84;hb=2ecfe2ef876b4d5d28b1e857c7dfb3d78b43b3b6;hp=82459578378de96260dbddb443c236e79e1746e1;hpb=fcf9c84cd00a6af405bb8d2f838e10ef89482857;p=nesc.git 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);