Project

General

Profile

« Previous | Next » 

Revision 0781e552

Added by st0012 (Stan Lo) over 2 years ago

[ruby/irb] Move assignment check to RubyLex
(https://github.com/ruby/irb/pull/670)

Since assignment check relies on tokenization with Ripper, it feels like
the responsibility of RubyLex. Irb#eval_input should simply get the result
when calling each_top_level_statement on RubyLex.

https://github.com/ruby/irb/commit/89d1adb3fd