mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* misc/ruby-mode.el (ruby-parse-partial): need to parse "/=" as
self assignment operator, not regex. [ruby-talk:227324] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11341 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
5ec5792be5
commit
940ebcdbc9
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
Tue Dec 5 00:59:05 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* misc/ruby-mode.el (ruby-parse-partial): need to parse "/=" as
|
||||
self assignment operator, not regex. [ruby-talk:227324]
|
||||
|
||||
Mon Dec 4 10:48:03 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* ruby.h (OFFT2NUM): use LONG2NUM() if sizeof(long) equals to
|
||||
|
|
|
@ -383,6 +383,8 @@ The variable ruby-indent-level controls the amount of indentation.
|
|||
(t
|
||||
(setq in-string (point))
|
||||
(goto-char end))))
|
||||
((looking-at "/=")
|
||||
(goto-char pnt))
|
||||
((looking-at "/")
|
||||
(cond
|
||||
((and (not (eobp)) (ruby-expr-beg 'expr-re))
|
||||
|
|
Loading…
Add table
Reference in a new issue