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

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

bug#61291: 29.0.60; c-ts-mode: semi-colon after conditionals/loops not i


From: Mohammed Sadiq
Subject: bug#61291: 29.0.60; c-ts-mode: semi-colon after conditionals/loops not indented
Date: Mon, 06 Feb 2023 11:32:20 +0530

On 2023-02-06 04:52, Yuan Fu wrote:
Mohammed Sadiq <sadiq@sadiqpk.org> writes:

; in the following code is not indented:

while (str_a[i++] == str_b[j++])
;

expected indentation:

while (str_a[i++] == str_b[j++])
  ;

Thanks! I pushed a fix.

Yuan

This seems to have not fixed when tested with the latest build.
Also, this has broken auto indentation for other code, eg:

if (true)
do_something();





reply via email to

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