Subject: bug#60267: The auto keyword is blocked in c-ts-mode

From: Yuan Fu <[email-masked]>
Date: Sat, 24 Dec 2022 00:00:11 -0800

Yuan Fu <[email-masked]> writes:

>> On Dec 22, 2022, at 7:06 PM, [email-masked] wrote:
>> 
>> From: sniper <[email-masked]>
>> To: [email-masked]
>> Subject: 30.0.50; The auto keyword is blocked in c-ts-mode
>> Date: Fri, 23 Dec 2022 11:01:37 +0800
>> Message-ID: <[email-masked]>
>> --text follows this line--
>> 
>> If it is in the c file, enable c-ts-mode.
>> Then the code pops up and emacs freezes.
>> 
>> ``` c
>> for (auto i = 0; i < 0; ++i) {
>> }
>> ```
>> 
>> But if there is an int, there is no problem. Once you remove the int, emacs will get stuck
>> 
>> ``` c
>> for (auto int i = 0; i < 0; ++i) {
>> }
>> ```
>
> Thanks, I’ll look into it.

This should be fixed now. When you have time, please give it a try! 

Thanks,
Yuan