aboutsummaryrefslogtreecommitdiffstats
path: root/test/lisp/progmodes/ruby-mode-resources/ruby.rb
diff options
context:
space:
mode:
authorDmitry Gutov2021-02-02 03:47:46 +0200
committerDmitry Gutov2021-02-02 03:48:04 +0200
commit83efac64779b0cda1a700d2f82d63a1afa1ac6f4 (patch)
tree623177e0425d79d1461951ca70155a16d5549352 /test/lisp/progmodes/ruby-mode-resources/ruby.rb
parente38e7b7bc121b96649518e5e986bba23697abc2d (diff)
downloademacs-83efac64779b0cda1a700d2f82d63a1afa1ac6f4.tar.gz
emacs-83efac64779b0cda1a700d2f82d63a1afa1ac6f4.zip
ruby-syntax-propertize: Fix certain cases following ::
* lisp/progmodes/ruby-mode.el (ruby-syntax-propertize): Make sure to backtrack if the "symbols with special characters" rule is aborted because of preceding colon.
Diffstat (limited to 'test/lisp/progmodes/ruby-mode-resources/ruby.rb')
-rw-r--r--test/lisp/progmodes/ruby-mode-resources/ruby.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lisp/progmodes/ruby-mode-resources/ruby.rb b/test/lisp/progmodes/ruby-mode-resources/ruby.rb
index 434237cf638..8c698e4fac8 100644
--- a/test/lisp/progmodes/ruby-mode-resources/ruby.rb
+++ b/test/lisp/progmodes/ruby-mode-resources/ruby.rb
@@ -108,7 +108,7 @@ foo( # ruby-deep-indent-disabled
108# Multiline regexp. 108# Multiline regexp.
109/bars 109/bars
110 tees # toots 110 tees # toots
111 nfoos/ 111 nfoos::/
112 112
113def test1(arg) 113def test1(arg)
114 puts "hello" 114 puts "hello"