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:
parent
6d53b692ab
commit
7366756079
3 changed files with 9 additions and 4 deletions
|
@ -659,7 +659,7 @@ class RubyLex
|
|||
@lex_state = EXPR_END
|
||||
|
||||
case ch = getc
|
||||
when /[~_*$?!@/\\;,=:<>".]/ #"
|
||||
when /[~_*$?!@\/\\;,=:<>".]/ #"
|
||||
Token(TkGVAR, "$" + ch)
|
||||
when "-"
|
||||
Token(TkGVAR, "$-" + getc)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue