Permalink
Browse files

[ops2c] include a bit more information in an error message

but overall it is still "less than awesome"
  • Loading branch information...
moritz committed Jan 13, 2012
1 parent c6a80b8 commit 9e513e1cf7a8cef7c377511433ac6093a7eba68a
Showing with 1 addition and 1 deletion.
  1. +1 −1 compilers/opsc/src/Ops/Trans/C.pm
@@ -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);
}

0 comments on commit 9e513e1

Please sign in to comment.