diff options
-rw-r--r-- | .cvsignore | 1 | ||||
-rw-r--r-- | ChangeLog | 10 | ||||
-rw-r--r-- | lib/irb/ruby-lex.rb | 2 |
3 files changed, 9 insertions, 4 deletions
diff --git a/.cvsignore b/.cvsignore index c1bdd084b3..be335897bb 100644 --- a/.cvsignore +++ b/.cvsignore @@ -10,6 +10,7 @@ config.status Makefile ppack archive +extmk.rb *.orig *.rej *.bak @@ -1,6 +1,10 @@ +Sun May 14 02:02:48 2000 WATANABE Hirofumi <eban@os.rim.or.jp> + + * lib/irb/ruby-lex.rb: '/' should be escaped in charcter class. + Sun May 14 00:54:43 2000 WATANABE Hirofumi <eban@os.rim.or.jp> - * configure.in, ...: suport mingw32. + * configure.in, ...: support mingw32. * defines.h: ditto. undef EXTERN for tcl/tk on cygwin. @@ -3433,7 +3437,7 @@ Wed Jan 20 03:39:48 1999 Yukihiro Matsumoto <matz@netlab.co.jp> * parse.y (yycompile): rb_in_compile renamed to ruby_in_compile. - * ruby.c (load_file): define DATA iff __END__ appeared in script. + * ruby.c (load_file): define DATA if __END__ appeared in script. Tue Jan 19 14:57:51 1999 Yukihiro Matsumoto <matz@netlab.co.jp> @@ -3570,7 +3574,7 @@ Thu Dec 24 00:17:00 1998 Yukihiro Matsumoto <matz@netlab.co.jp> * eval.c (rb_load): top self should be set properly. - * variable.c (classname): check __classpath__ iff it is defined. + * variable.c (classname): check __classpath__ if it is defined. * variable.c (classname): invalid warning at -v with static linked ruby interpreter. diff --git a/lib/irb/ruby-lex.rb b/lib/irb/ruby-lex.rb index e66ba8879e..a788b779b4 100644 --- a/lib/irb/ruby-lex.rb +++ b/lib/irb/ruby-lex.rb @@ -659,7 +659,7 @@ class RubyLex @lex_state = EXPR_END case ch = getc - when /[~_*$?!@/\\;,=:<>".]/ #" + when /[~_*$?!@\/\\;,=:<>".]/ #" Token(TkGVAR, "$" + ch) when "-" Token(TkGVAR, "$-" + getc) |