diff options
Diffstat (limited to 'lib/irb/ruby-lex.rb')
-rw-r--r-- | lib/irb/ruby-lex.rb | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/irb/ruby-lex.rb b/lib/irb/ruby-lex.rb index 5b37013361..e92b45b151 100644 --- a/lib/irb/ruby-lex.rb +++ b/lib/irb/ruby-lex.rb @@ -458,8 +458,7 @@ class RubyLex ungetc identify_number else - # for obj.if - # (JP: obj.if $B$J$I$NBP1~(B) + # for "obj.if" etc. @lex_state = EXPR_DOT Token(TkDOT) end @@ -693,7 +692,6 @@ class RubyLex token.concat getc end # almost fix token - # (JP: $BBgBN(Bfix token) case token when /^\$/ @@ -709,13 +707,11 @@ class RubyLex token_c, *trans = TkReading2Token[token] if token_c # reserved word? - # (JP: $BM=Ls8l$+$I$&$+(B?) if (@lex_state != EXPR_BEG && @lex_state != EXPR_FNAME && trans[1]) # modifiers - # (JP: $B=$>~;R(B) token_c = TkSymbol2Token[trans[1]] @lex_state = trans[0] else @@ -960,7 +956,6 @@ class RubyLex end else # other characters - #(JP:$B$=$NB>$NJ8;z(B) end end end |