ruby-changes:2401
From: ko1@a...
Date: 12 Nov 2007 13:54:10 +0900
Subject: [ruby-changes:2401] matz - Ruby:r13892 (trunk): * misc/ruby-mode.el (ruby-parse-partial): handle stringified
matz 2007-11-12 13:54:00 +0900 (Mon, 12 Nov 2007) New Revision: 13892 Modified files: trunk/ChangeLog trunk/misc/ruby-mode.el trunk/version.h Log: * misc/ruby-mode.el (ruby-parse-partial): handle stringified symbols properly using ruby-forward-string. http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/misc/ruby-mode.el?r1=13892&r2=13891 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/version.h?r1=13892&r2=13891 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=13892&r2=13891 Index: ChangeLog =================================================================== --- ChangeLog (revision 13891) +++ ChangeLog (revision 13892) @@ -1,3 +1,8 @@ +Mon Nov 12 13:53:06 2007 Yukihiro Matsumoto <matz@r...> + + * 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@f...> * configure.in (MINIDLNOBJS): defined. Index: misc/ruby-mode.el =================================================================== --- misc/ruby-mode.el (revision 13891) +++ misc/ruby-mode.el (revision 13892) @@ -506,8 +506,9 @@ (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]*[!?=]?\\)?") Index: version.h =================================================================== --- version.h (revision 13891) +++ version.h (revision 13892) @@ -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[]; -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml