diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-01-05 10:01:54 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-01-05 10:01:54 +0000 |
commit | caaac4db27bcd33f7865faaf60d6a848c5204d03 (patch) | |
tree | 9e89a3575c3a1a279d8477c6582c2fd8d4b8402f /misc | |
parent | 7336cf5424cd9adb91fb56005cf55b39410d9305 (diff) | |
download | bundler-caaac4db27bcd33f7865faaf60d6a848c5204d03.tar.gz |
* dir.c: merge tuning from H.Yamamoto <ocean@m2.ccsnet.ne.jp>.
[ruby-dev:22486]
* pack.c (pack_unpack): unpack requires big endian offet (OFF16B
and OFF32B). The patch is from Minero Aoki in [ruby-dev:22489]
* pack.c (OFF16B): add big-endian offset again.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'misc')
-rw-r--r-- | misc/ruby-mode.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/misc/ruby-mode.el b/misc/ruby-mode.el index 631f78f78a..081218c408 100644 --- a/misc/ruby-mode.el +++ b/misc/ruby-mode.el @@ -964,7 +964,10 @@ balanced expression is found." ;; get current method (or class/module) (if (re-search-backward (concat "^[ \t]*\\(def\\|class\\|module\\)[ \t]+" - "\\(" ruby-symbol-re "+\\)") + "\\(" + ;; \\. for class method + "\\(" ruby-symbol-re "\\|\\." "\\)" + "+\\)") nil t) (progn (setq mlist (list (match-string 2))) |