| 1 | package VAST::comp_unit; | ||
| 2 | BEGIN { | ||
| 3 | $VAST::comp_unit::VERSION = '0.05'; | ||
| 4 | } | ||
| 5 | use utf8; | ||
| 6 | use strict; | ||
| 7 | use warnings; | ||
| 8 | use Mildew::AST::Helpers; | ||
| 9 | |||
| 10 | sub emit_m0ld { | ||
| 11 | my ($m) = @_; | ||
| 12 | Mildew::AST::Block->new(regs=>['interpreter','scope'],stmts=>$m->{statementlist}->emit_m0ld); | ||
| 13 | } | ||
| 14 | |||
| 15 | 1; |