Subject: bug#60649: 29.0.60; c-ts-mode: struct typedef brace end may not indent properly

From: Mohammed Sadiq <[email-masked]>
Date: Sun, 08 Jan 2023 15:43:42 +0530

The following code is not indented properly with c-ts-mode:

typedef struct {
   unsigned long flags;
   unsigned long functions;
   unsigned long decorations;
   long input_mode;
   unsigned long status;
         } PropMotifWmHints;

the expected indentation:

typedef struct {
   unsigned long flags;
   unsigned long functions;
   unsigned long decorations;
   long input_mode;
   unsigned long status;
} PropMotifWmHints;

In GNU Emacs 29.0.60 (build 9, x86_64-pc-linux-gnu, GTK+ Version
  3.24.35, cairo version 1.16.0) of 2023-01-08 built on purism
Repository revision: e04b3d41bb41ccca3d403345b12b9a614213d488
Repository branch: emacs-29
Windowing system distributor 'The X.Org Foundation', version 
11.0.12101005
System Description: Debian GNU/Linux bookworm/sid