X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/4fab7badf5ce341cd6b1e32e72f55eee5c3962e8..8854b9cf5283cac3e4a5a3726325a82b88c1fcb5:/lisp/progmodes/ruby-mode.el?ds=sidebyside diff --git a/lisp/progmodes/ruby-mode.el b/lisp/progmodes/ruby-mode.el index 06b1fcf172..060bc847eb 100644 --- a/lisp/progmodes/ruby-mode.el +++ b/lisp/progmodes/ruby-mode.el @@ -1817,7 +1817,7 @@ It will be properly highlighted even when the call omits parens.") (defvar ruby-syntax-before-regexp-re (concat ;; Special tokens that can't be followed by a division operator. - "\\(^\\|[[{|=(,~;<>]" + "\\(^\\|[[{|=(,~;<>!]" ;; Distinguish ternary operator tokens. ;; FIXME: They don't really have to be separated with spaces. "\\|[?:] "