Structures with attributes are parsed incorrectly. For example: ``` struct __attribute__((packed)) struct1_t { static constexpr int A = 1; static constexpr int B = 2; }; ``` It seems to me, that they are taken for `function_definition` somehow. This will help to resolve [this issue](https://github.com/EvgeniyPeshkov/syntax-highlighter/issues/21). Thank you very much.
Activity
Arcanemagus commentedon Jun 17, 2019
Arcanemagus commentedon Jun 17, 2019
EvgeniyPeshkov commentedon Jun 17, 2019
I use the latest version 0.15.0.
It seems that
__attribute__was fixed for function declarations, but not structs.