Skip to content

Commit

Permalink
Showing 5 changed files with 2,292 additions and 2,533 deletions.
1 change: 1 addition & 0 deletions lib/opal/parser.rb
Original file line number Diff line number Diff line change
@@ -48,6 +48,7 @@ def pop_scope
end

def on_error(t, val, vstack)
puts lexer.instance_variable_get(:@scanner).peek(50)
raise "parse error on value #{val.inspect} (#{token_to_str(t) || '?'}) :#{@file}:#{lexer.line}"
end

Loading

0 comments on commit 1c61665

Please sign in to comment.