start with block_compiler

as a copy of method_compiler
re-merge later, when we know what's needed
This commit is contained in:
Torsten Ruger
2018-07-09 16:48:23 +03:00
parent 7231f301ba
commit dd544214b3
10 changed files with 159 additions and 13 deletions

View File

@ -43,7 +43,7 @@ module Parfait
def add_block(bl)
block = self.blocks
bl.next = block if(block)
bl.set_next(block) if(block)
@blocks = bl
end