lib/minjs/program.rb in minjs-0.1.3 vs lib/minjs/program.rb in minjs-0.1.5

- old
+ new

@@ -11,10 +11,10 @@ prog.push(t) else break end end - ECMA262::Prog.new(context, prog) + ECMA262::Prog.new(context, ECMA262::SourceElements.new(prog)) end def source_element(lex, context) lex.eval_lit{ statement(lex, context)