summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-06-23 15:14:28 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-06-23 15:14:28 +0000
commit0869399cbf26c16c3226f338661da87882418ff8 (patch)
tree68824a34a64308058eac860155bb53140d5f09bb /misc
parentc0648ecc85c307388895bc420b2eb61ab46966b2 (diff)
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@1544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'misc')
-rw-r--r--misc/ruby-mode.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/misc/ruby-mode.el b/misc/ruby-mode.el
index da31f989d1..d29e3bd82c 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)