summaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-12-05 07:55:38 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-12-05 07:55:38 +0000
commit91e95fdcafd23d6d418e252587e2bfc3e098788c (patch)
treeee1beaa7a0314e06c3477e07b4408a01d9beff0f /misc
parentaa67f34fadcea0349e2b71b00a95a4670de8896c (diff)
downloadruby-91e95fdcafd23d6d418e252587e2bfc3e098788c.tar.gz
ruby-91e95fdcafd23d6d418e252587e2bfc3e098788c.tar.xz
ruby-91e95fdcafd23d6d418e252587e2bfc3e098788c.zip
* misc/ruby-mode.el (ruby-parse-partial): need to parse "/=" as
self assignment operator, not regex. [ruby-talk:227324] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@11341 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'misc')
-rw-r--r--misc/ruby-mode.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/misc/ruby-mode.el b/misc/ruby-mode.el
index ff22e4998..2256ef0dc 100644
--- a/misc/ruby-mode.el
+++ b/misc/ruby-mode.el
@@ -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))