# HG changeset patch # User anatofuz # Date 1573794725 -32400 # Node ID 195cea4bb9c9ade89430cf97aabb269c8327aebc # Parent 37a0df8b1889d737906527e41b5f52e3a9d7c5bf tweak diff -r 37a0df8b1889 -r 195cea4bb9c9 src/gearsTools/update_context.pl --- a/src/gearsTools/update_context.pl Thu Nov 14 15:10:43 2019 +0900 +++ b/src/gearsTools/update_context.pl Fri Nov 15 14:12:05 2019 +0900 @@ -44,11 +44,8 @@ } push(@first_context_headers, $line); } - close $fh; - #print "@first_context_headers\n"; - #print "@last_context_headers\n"; return (\@first_context_headers,\@last_context_headers); } @@ -88,17 +85,13 @@ my $h2context = shift; my $context = ''; my $space = ' '; - #print "${space}struct $h2context->{name} {\n"; $context = "${space}struct $h2context->{name} {\n"; for my $datum (@{$h2context->{data}}) { - #print "${space}${space}$datum; \n"; $context .= "${space}${space}$datum;\n"; } for my $code (@{$h2context->{codes}}) { - #print "${space}${space}enum Code $code;\n"; $context .= "${space}${space}enum Code $code;\n"; } - #print "${space}} $h2context->{name};\n"; $context .= "${space}} $h2context->{name};\n"; return $context; }