bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#16593: 24.3.50; ruby-mode: align chained method calls on multiple li


From: Stefan Monnier
Subject: bug#16593: 24.3.50; ruby-mode: align chained method calls on multiple lines
Date: Thu, 30 Jan 2014 09:35:37 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> Warning (smie): Conflict: . </= .
> Warning (smie): Conflict: . </= .

The smie-precs->prec2 part of your grammar says that "." = "." (because
of the new (assoc ".") you add there).

But the BNF part of your grammar says "." < "." (i.e. "foo . bar . baz"
is parsed as "foo . (bar . baz)" because of (id "." exp).
Apparently there is no more conflict in the BNF in this respect so the
disambiguation constraint (assoc ".") that's passed to it is ignored.

Hence the conflict.


        Stefan





reply via email to

[Prev in Thread] Current Thread [Next in Thread]