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

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

Re: SMIE: if-elseif-else constructs


From: Stefan Monnier
Subject: Re: SMIE: if-elseif-else constructs
Date: Sat, 03 Oct 2020 12:24:46 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

>       (assoc "then" "end")

This says that

    a then b then c then d

is acceptable and that `a`, `b`, and `c` should be considered as
siblings (i.e. at the same depth level).  Same for `end`.
It's clearly not what you want and is the source of your problem.


        Stefan




reply via email to

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