Skip to content

Commit

Permalink
[ops2c] include a bit more information in an error message
Browse files Browse the repository at this point in the history
but overall it is still "less than awesome"
  • Loading branch information
moritz committed Jan 13, 2012
1 parent c6a80b8 commit 9e513e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compilers/opsc/src/Ops/Trans/C.pm
Expand Up @@ -76,7 +76,7 @@ method emit_c_op_funcs_header_part($fh) {

method access_arg($type, $num) {
my $access := self<arg_maps>{$type};
die("unrecognized arg type '$type'") unless $access;
die("unrecognized arg type '$type' (register \$$num)") unless $access;
subst($access, /NUM/, $num);
}

Expand Down

0 comments on commit 9e513e1

Please sign in to comment.