1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

escape `/'.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
eban 2000-05-13 17:22:08 +00:00
parent 6d53b692ab
commit 7366756079
3 changed files with 9 additions and 4 deletions

View file

@ -10,6 +10,7 @@ config.status
Makefile Makefile
ppack ppack
archive archive
extmk.rb
*.orig *.orig
*.rej *.rej
*.bak *.bak

View file

@ -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> 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. * 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. * 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> 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. * 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 * variable.c (classname): invalid warning at -v with static linked
ruby interpreter. ruby interpreter.

View file

@ -659,7 +659,7 @@ class RubyLex
@lex_state = EXPR_END @lex_state = EXPR_END
case ch = getc case ch = getc
when /[~_*$?!@/\\;,=:<>".]/ #" when /[~_*$?!@\/\\;,=:<>".]/ #"
Token(TkGVAR, "$" + ch) Token(TkGVAR, "$" + ch)
when "-" when "-"
Token(TkGVAR, "$-" + getc) Token(TkGVAR, "$-" + getc)