Mercurial > hg > Members > menikon > CbC_xv6
changeset 122:f6558602f31e
tweak
author | anatofuz |
---|---|
date | Mon, 02 Dec 2019 19:21:20 +0900 |
parents | 6ac3f95e38a4 |
children | 004e825f37c7 53be0626c3fa |
files | src/gearsTools/trans_impl.pl src/impl/SysReadImplTmp.h |
diffstat | 2 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gearsTools/trans_impl.pl Mon Dec 02 19:16:34 2019 +0900 +++ b/src/gearsTools/trans_impl.pl Mon Dec 02 19:21:20 2019 +0900 @@ -6,13 +6,16 @@ use lib "$FindBin::Bin/lib"; use Gears::Util; +use File::Spec; use Getopt::Std; my %opt; getopts("w" => \%opt); my $impl_file = shift or die 'require impl file'; -my $impl_ir = Gears::Util->parse_with_rewrite($impl_file); + +use Data::Dumper; +my $impl_ir = Gears::Util->parse_with_rewrite(File::Spec->rel2abs($impl_file)); my $interface_file = Gears::Util->find_header($impl_ir->{isa},"$FindBin::Bin/.."); my $inter_ir = Gears::Util->parse_with_rewrite($interface_file);