]> git.eshelyaron.com Git - emacs.git/commit
* lisp/progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
authorStefan Monnier <monnier@iro.umontreal.ca>
Sat, 12 Oct 2013 20:40:50 +0000 (16:40 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sat, 12 Oct 2013 20:40:50 +0000 (16:40 -0400)
commit650fa7bfb4143c3f6f46939982ae7e8f69e806f7
tree0bb784e4d142bf8592141448742a83afd87ff406
parent46e5e833d91758f31fbbea3c894cd0c90e78c484
* lisp/progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
method calls (bug#bug#15594).
(ruby-smie--args-separator-p): New function.
(ruby-smie--forward-token, ruby-smie--backward-token): Use it to
recognize paren-free method calls.
lisp/ChangeLog
lisp/progmodes/ruby-mode.el
test/indent/ruby.rb