Mercurial > hg > CbC > CbC_xv6
diff src/gearsTools/generate_context.pl @ 355:045299ad7e97
...
author | anatofuz |
---|---|
date | Mon, 15 Jun 2020 18:27:09 +0900 |
parents | fde5f96c6ff1 |
children | e194c940c664 |
line wrap: on
line diff
--- a/src/gearsTools/generate_context.pl Fri Jun 12 20:44:01 2020 +0900 +++ b/src/gearsTools/generate_context.pl Mon Jun 15 18:27:09 2020 +0900 @@ -252,7 +252,7 @@ EOFEOF if ($project->{name} eq "gears") { - $mata_call .= <<"EOFEOF"; + $meta_call .= <<"EOFEOF"; __code exit_code(struct Context* ${context_name}) { free(${context_name}->code); free(${context_name}->data); @@ -263,7 +263,7 @@ } else { -$mata_call .= <<"EOFEOF"; +$meta_call .= <<"EOFEOF"; __code exit_code(struct Context* ${context_name}) { // free(${context_name}->code); // free(${context_name}->data); @@ -273,7 +273,7 @@ EOFEOF } -$mata_call .= <<"EOFEOF"; +$meta_call .= <<"EOFEOF"; __code exit_code_stub(struct Context* ${context_name}) { goto exit_code(${context_name}); }