lib/minjs/program.rb in minjs-0.1.2 vs lib/minjs/program.rb in minjs-0.1.3
- old
+ new
@@ -7,13 +7,9 @@
prog = []
while !lex.eof?
t = source_element(lex, context)
if t
prog.push(t)
-# elsif !options[:no_exception]
-# lex.debug_lit
-# raise 'error'
-# return nil
else
break
end
end
ECMA262::Prog.new(context, prog)