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/slex.rb | |
parent | f0448281f577fa930c68fb900d30c20c78f75914 (diff) | |
download | ruby-94df732f8b69356626130e0ec8b2dbc9340082ef.tar.gz |
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/slex.rb')
-rw-r--r-- | lib/irb/slex.rb | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/lib/irb/slex.rb b/lib/irb/slex.rb index e283df40fe..26008906e5 100644 --- a/lib/irb/slex.rb +++ b/lib/irb/slex.rb @@ -88,9 +88,8 @@ class SLex # #---------------------------------------------------------------------- class Node - # if postproc no exist, this node is abstract node. - # if postproc isn't nil, this node is real node. - # (JP: postproc$B$,$J$1$l$PCj>]%N!<%I(B, nil$B$8$c$J$1$l$P6q>]%N!<%I(B) + # if postproc is nil, this node is an abstract node. + # if postproc is non-nil, this node is a real node. def initialize(preproc = nil, postproc = nil) @Tree = {} @preproc = preproc @@ -159,11 +158,9 @@ class SLex # # chrs: String - # character array (JP: $B0lJ8;z$E$D$N(BArray) - # io It must have getc()/ungetc(), and ungetc() can be - # called any number of times. - # (JP:$B$@$@$7(B, getc/ungetc$B$,Hw$o$C$F$$$J$1$l$P$J$i$J$$(B. - # $B$5$i$K(B, ungetc$B$OJ#?t2s2DG=$G$J$/$F$O$J$i$J$$(B.) + # character array + # io must have getc()/ungetc(); and ungetc() must be + # able to be called arbitrary number of times. # def match(chrs, op = "") print "match>: ", chrs, "op:", op, "\n" if SLex.debug? |