vickenty / lang-c

Lightweight C parser for Rust
Apache License 2.0
202 stars 30 forks source link

Fix parsing of const following typedef #25

Closed vickenty closed 4 years ago

vickenty commented 4 years ago

There is still possibility that a non-type keyword, such as type qualifier, may be following typedef before we can parse the first type specifier.

Fixes #23