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

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

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


From: Yuan Fu
Subject: bug#60267: The auto keyword is blocked in c-ts-mode
Date: Fri, 23 Dec 2022 13:17:55 -0800


> On Dec 22, 2022, at 7:06 PM, e190@163.com wrote:
> 
> From: sniper <e190@163.com>
> To: bug-gnu-emacs@gnu.org
> Subject: 30.0.50; The auto keyword is blocked in c-ts-mode
> Date: Fri, 23 Dec 2022 11:01:37 +0800
> Message-ID: <87h6xmakmm.fsf@sniper-VirtualBox.mail-host-address-is-not-set>
> --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.

Yuan




reply via email to

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