* lisp/progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
authorDmitry Gutov <dgutov@yandex.ru>
Thu, 7 Nov 2013 03:02:01 +0000 (05:02 +0200)
committerDmitry Gutov <dgutov@yandex.ru>
Thu, 7 Nov 2013 03:02:01 +0000 (05:02 +0200)
commit1d1c86daf7d8999a1e82e3bbcf0ca5717286a217
tree234da1b47bf099ca595b501f8f87530c76ee0370
parentb420ccfc4cbe081b53881a7c9f0dd6b778b99b99
* lisp/progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
No implicit semi after "^", "and" or "or".
(ruby-smie-grammar): New tokens: "and" and "or".
(ruby-smie--args-separator-p): Fix the check for tokens at POS.
Exclude "and" and "or".  Remove "do" in order to work around token
priorities.
(ruby-smie-rules): Add all infix tokens.  Handle the case of
beginning-of-buffer.
lisp/ChangeLog
lisp/progmodes/ruby-mode.el
test/indent/ruby.rb