From 940ebcdbc9311133cd47b478fc6b5117b39e7c0d Mon Sep 17 00:00:00 2001 From: matz Date: Tue, 5 Dec 2006 07:55:38 +0000 Subject: * 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 --- misc/ruby-mode.el | 2 ++ 1 file changed, 2 insertions(+) (limited to 'misc') diff --git a/misc/ruby-mode.el b/misc/ruby-mode.el index ff22e49981..2256ef0dc1 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)) -- cgit v1.2.3