diff options
author | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-05-03 08:56:49 +0000 |
---|---|---|
committer | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-05-03 08:56:49 +0000 |
commit | 94df732f8b69356626130e0ec8b2dbc9340082ef (patch) | |
tree | 85810971ada432abc7901f914b75a7e1ad3d5a7a /lib/irb/ruby-lex.rb | |
parent | f0448281f577fa930c68fb900d30c20c78f75914 (diff) |
Get rid of Japanese comments and fix English comments as appropriate.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1362 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 |