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

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

bug#21875: 24.5; Invalid tokens in smie indentation rules


From: Arthur Evstifeev
Subject: bug#21875: 24.5; Invalid tokens in smie indentation rules
Date: Fri, 13 Nov 2015 15:00:26 +1300

Sorry for the delay. I have attached full code of the swift-mode with
minimal smie implementation. I didn't clean other pieces of the mode
like syntax table and highlighting code, hope this won't be too
inconvenient to work with.

Attachment: swift-mode.el
Description: application/emacs-lisp

Glenn Morris writes:

> [resending including the OP in the list of recipients]
>
> Stefan Monnier wrote:
>
>>>> And lexer rule that overrides braces with begin/end tokens, for example
>>>> like this:
>>>>
>>>> ((looking-at "{") (forward-char 1) "begin")
>>>> ((looking-at "}") (forward-char 1) "end")
>>
>> This is not enough info: we need the complete code so we can run it on
>> our side and single-step through it to see what's going on.

--
Sent with my mu4e

reply via email to

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