[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#60484: 29.0.60; c-ts-mode: short tokens are not identified as type_i
From: |
Eli Zaretskii |
Subject: |
bug#60484: 29.0.60; c-ts-mode: short tokens are not identified as type_identifier |
Date: |
Mon, 02 Jan 2023 14:15:30 +0200 |
> Date: Mon, 02 Jan 2023 10:22:09 +0530
> From: Mohammed Sadiq <sadiq@sadiqpk.org>
>
> Short tokens are not identified as type_identifier in GNU Emacs
> c-ts-mode, but does work fine with tree-sitter playground[0].
>
> Say for example, 'a_type' in an empty buffer is identified as a
> type_identifier in tree-sitter playground, but not in c-ts-mode,
> while say, some longer tokens like 'window_type' is identified as
> type_identifier.
Where is it written that FOO_type is a type identifier? is this
something new in some recent C Standard? Or is it just a popular
convention?