"." compared to "do".
+2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
+
+ * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
+ "." compared to "do".
+
2013-11-06 Glenn Morris <rgm@gnu.org>
* Makefile.in (setwins_almost, setwins_for_subdirs):
(inst (exp) (inst "iuwu-mod" exp))
(exp (exp1) (exp "," exp) (exp "=" exp)
(id " @ " exp)
- (exp "." exp))
+ (exp "." id))
(exp1 (exp2) (exp2 "?" exp1 ":" exp1))
(exp2 ("def" insts "end")
("begin" insts-rescue-insts "end")
qux
end
-# Examples below still fail with `ruby-use-smie' on:
-
foo = [1, 2, 3].map do |i|
i + 1
end
-bar.foo do # "." is parent to "do"; it shouldn't be.
+bar.foo do
bar
end