emacs-devel
[Top][All Lists]
Advanced

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

Re: [Emacs-diffs] master 6354e3c: Handle indentation of nested ternary o


From: Stefan Monnier
Subject: Re: [Emacs-diffs] master 6354e3c: Handle indentation of nested ternary operators in JS
Date: Thu, 13 Apr 2017 15:24:22 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

> +  isSet
> +    ? (isEmpty ? 2 : 3)
> +    : 4

Not sure about JS, but at least in C, those parentheses are not needed
(so the indentation code should ideally DTRT even in the absence of
parentheses).


        Stefan



reply via email to

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