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

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

bug#26977: 25.2.50; RNC mode indentation is bad


From: npostavs
Subject: bug#26977: 25.2.50; RNC mode indentation is bad
Date: Thu, 01 Jun 2017 23:27:45 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2.50 (gnu/linux)

Ivan Andrus <darthandrus@gmail.com> writes:

> The patch below fixes it for me, but there is likely a better way to do
> it.  It relies on the fact that no token in RNC is more than one
> punctation character which seems somewhat coincidental, but is true
> as far as I know.

I think that's the right way to do it.  The RNC grammar has only single
character operators, and it makes sense that the tokenizer would make
use of this fact.





reply via email to

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