diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-11-12 04:54:00 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-11-12 04:54:00 +0000 |
| commit | 3210b04d35d0344f881d05f637ffef561e838082 (patch) | |
| tree | 0ae45121789e916cd9ddb5c627da48da5a0e2aef | |
| parent | 3f0e8b023d490b0b3b4ae581847e03c027f278e7 (diff) | |
| download | ruby-3210b04d35d0344f881d05f637ffef561e838082.tar.gz ruby-3210b04d35d0344f881d05f637ffef561e838082.tar.xz ruby-3210b04d35d0344f881d05f637ffef561e838082.zip | |
* misc/ruby-mode.el (ruby-parse-partial): handle stringified
symbols properly using ruby-forward-string.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | misc/ruby-mode.el | 5 | ||||
| -rw-r--r-- | version.h | 6 |
3 files changed, 11 insertions, 5 deletions
@@ -1,3 +1,8 @@ +Mon Nov 12 13:53:06 2007 Yukihiro Matsumoto <matz@ruby-lang.org> + + * misc/ruby-mode.el (ruby-parse-partial): handle stringified + symbols properly using ruby-forward-string. + Mon Nov 12 12:17:59 2007 Tanaka Akira <akr@fsij.org> * configure.in (MINIDLNOBJS): defined. diff --git a/misc/ruby-mode.el b/misc/ruby-mode.el index 6e9ac7ae4..bc7284a94 100644 --- a/misc/ruby-mode.el +++ b/misc/ruby-mode.el @@ -506,8 +506,9 @@ The variable ruby-indent-level controls the amount of indentation. (setq nest (cons (cons nil pnt) nest)) (setq depth (1+ depth))) (goto-char pnt)) - ((looking-at ":\\(['\"]\\)\\(\\\\.\\|[^\\\\]\\)*\\1") - (goto-char (match-end 0))) + ((looking-at ":\\(['\"]\\)") + (goto-char (match-beginning 1)) + (ruby-forward-string (buffer-substring (match-beginning 1) (match-end 1)) end)) ((looking-at ":\\([-,.+*/%&|^~<>]=?\\|===?\\|<=>\\)") (goto-char (match-end 0))) ((looking-at ":\\([a-zA-Z_][a-zA-Z_0-9]*[!?=]?\\)?") @@ -1,7 +1,7 @@ #define RUBY_VERSION "1.9.0" -#define RUBY_RELEASE_DATE "2007-11-10" +#define RUBY_RELEASE_DATE "2007-11-12" #define RUBY_VERSION_CODE 190 -#define RUBY_RELEASE_CODE 20071110 +#define RUBY_RELEASE_CODE 20071112 #define RUBY_PATCHLEVEL 0 #define RUBY_VERSION_MAJOR 1 @@ -9,7 +9,7 @@ #define RUBY_VERSION_TEENY 0 #define RUBY_RELEASE_YEAR 2007 #define RUBY_RELEASE_MONTH 11 -#define RUBY_RELEASE_DAY 10 +#define RUBY_RELEASE_DAY 12 #ifdef RUBY_EXTERN RUBY_EXTERN const char ruby_version[]; |
