Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
No reason to have TYPECONV constant use string-eval
  • Loading branch information
mohawk2 committed Mar 22, 2015
1 parent adfe10b commit 2c0e3fd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/TestInlineC.pm
Expand Up @@ -74,8 +74,7 @@ sub prd_parse {
$parser->{data}{function};
}

use constant TYPECONV => eval q{
{
use constant TYPECONV => {
'valid_rtypes' => {
'wchar_t' => 1,
'int' => 1,
Expand Down Expand Up @@ -594,7 +593,6 @@ use constant TYPECONV => eval q{
'SysRet' => 'T_SYSRET',
'unsigned int' => 'T_UV'
}
}
};


Expand Down

0 comments on commit 2c0e3fd

Please sign in to comment.