aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/ruby-mode.el
diff options
context:
space:
mode:
authorJoakim Verona2013-01-28 00:03:33 +0100
committerJoakim Verona2013-01-28 00:03:33 +0100
commit7a87fee72cf24500ee9e7f0b4a3effe77e2b3a53 (patch)
treea2ab223572d6bb71463836da2c95fa512234a255 /lisp/progmodes/ruby-mode.el
parent41d9ac9abdae964900a6f31087e6b9160635b2ba (diff)
parentb162502414d491f6893d962a49a88dfabac86fbf (diff)
downloademacs-7a87fee72cf24500ee9e7f0b4a3effe77e2b3a53.tar.gz
emacs-7a87fee72cf24500ee9e7f0b4a3effe77e2b3a53.zip
auto upstream
Diffstat (limited to 'lisp/progmodes/ruby-mode.el')
-rw-r--r--lisp/progmodes/ruby-mode.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/progmodes/ruby-mode.el b/lisp/progmodes/ruby-mode.el
index a42a66dfa87..989c00365a0 100644
--- a/lisp/progmodes/ruby-mode.el
+++ b/lisp/progmodes/ruby-mode.el
@@ -1552,7 +1552,7 @@ See `font-lock-syntax-table'.")
1552 1 font-lock-function-name-face) 1552 1 font-lock-function-name-face)
1553 ;; keywords 1553 ;; keywords
1554 (cons (concat 1554 (cons (concat
1555 "\\(^\\|[^_:.@$]\\|\\.\\.\\)\\b\\(defined\\?\\|" 1555 "\\(^\\|[^.@$]\\|\\.\\.\\)\\_<\\(defined\\?\\|"
1556 (regexp-opt 1556 (regexp-opt
1557 '("alias_method" 1557 '("alias_method"
1558 "alias" 1558 "alias"
@@ -1602,7 +1602,7 @@ See `font-lock-syntax-table'.")
1602 `(,ruby-here-doc-beg-re 0 (unless (ruby-singleton-class-p (match-beginning 0)) 1602 `(,ruby-here-doc-beg-re 0 (unless (ruby-singleton-class-p (match-beginning 0))
1603 'font-lock-string-face)) 1603 'font-lock-string-face))
1604 ;; variables 1604 ;; variables
1605 '("\\(^\\|[^_:.@$]\\|\\.\\.\\)\\b\\(nil\\|self\\|true\\|false\\)\\>" 1605 '("\\(^\\|[^.@$]\\|\\.\\.\\)\\_<\\(nil\\|self\\|true\\|false\\)\\>"
1606 2 font-lock-variable-name-face) 1606 2 font-lock-variable-name-face)
1607 ;; symbols 1607 ;; symbols
1608 '("\\(^\\|[^:]\\)\\(:\\([-+~]@?\\|[/%&|^`]\\|\\*\\*?\\|<\\(<\\|=>?\\)?\\|>[>=]?\\|===?\\|=~\\|![~=]?\\|\\[\\]=?\\|@?\\(\\w\\|_\\)+\\([!?=]\\|\\b_*\\)\\|#{[^}\n\\\\]*\\(\\\\.[^}\n\\\\]*\\)*}\\)\\)" 1608 '("\\(^\\|[^:]\\)\\(:\\([-+~]@?\\|[/%&|^`]\\|\\*\\*?\\|<\\(<\\|=>?\\)?\\|>[>=]?\\|===?\\|=~\\|![~=]?\\|\\[\\]=?\\|@?\\(\\w\\|_\\)+\\([!?=]\\|\\b_*\\)\\|#{[^}\n\\\\]*\\(\\\\.[^}\n\\\\]*\\)*}\\)\\)"
@@ -1613,8 +1613,8 @@ See `font-lock-syntax-table'.")
1613 '("\\(\\$\\|@\\|@@\\)\\(\\w\\|_\\)+" 1613 '("\\(\\$\\|@\\|@@\\)\\(\\w\\|_\\)+"
1614 0 font-lock-variable-name-face) 1614 0 font-lock-variable-name-face)
1615 ;; constants 1615 ;; constants
1616 '("\\(^\\|[^_]\\)\\b\\([A-Z]+\\(\\w\\|_\\)*\\)" 1616 '("\\_<\\([A-Z]+\\(\\w\\|_\\)*\\)"
1617 2 font-lock-type-face) 1617 1 font-lock-type-face)
1618 '("\\(^\\s *\\|[\[\{\(,]\\s *\\|\\sw\\s +\\)\\(\\(\\sw\\|_\\)+\\):[^:]" 2 font-lock-constant-face) 1618 '("\\(^\\s *\\|[\[\{\(,]\\s *\\|\\sw\\s +\\)\\(\\(\\sw\\|_\\)+\\):[^:]" 2 font-lock-constant-face)
1619 ;; expression expansion 1619 ;; expression expansion
1620 '(ruby-match-expression-expansion 1620 '(ruby-match-expression-expansion