From 303cb078fd938aeebee5b7637f6afadef00b8ea1 Mon Sep 17 00:00:00 2001 From: matz Date: Sat, 23 Jun 2001 15:14:28 +0000 Subject: * eval.c (svalue_to_avalue): new conversion scheme between single value and array values. * eval.c (avalue_to_svalue): ditto. * eval.c (rb_eval): REXPAND now uses avalue_to_svalue(), return and yield too. * eval.c (rb_yield_0): use avalue_to_svalue(). * eval.c (proc_invoke): Proc#call gives avaules, whereas Proc#yield gives mvalues. * eval.c (bmcall): convert given value (svalue) to avalue. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- misc/ruby-mode.el | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'misc') diff --git a/misc/ruby-mode.el b/misc/ruby-mode.el index da31f989d..d29e3bd82 100644 --- a/misc/ruby-mode.el +++ b/misc/ruby-mode.el @@ -750,6 +750,10 @@ An end of a defun is found by moving forward from the beginning of one." "\\|") "\\)\\>\\([^_]\\|$\\)") 2) + ;; regexps + '("/\\(\\(\\\\/\\|[^/\n]\\)*\\)/\\([iop]*\\)" + (1 font-lock-string-face) + (3 font-lock-constant-face)) ;; variables '("\\(^\\|[^_:.@$]\\|\\.\\.\\)\\b\\(nil\\|self\\|true\\|false\\)\\b\\([^_]\\|$\\)" 2 font-lock-variable-name-face) -- cgit