From 2a86c76b78240b690e009cba162a5bd61680b1e3 Mon Sep 17 00:00:00 2001 From: N3rdL0rd <168280212+N3rdL0rd@users.noreply.github.com> Date: Wed, 19 Jun 2024 16:27:07 -0500 Subject: [PATCH] Fix types --- cxxheaderparser/parser.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/cxxheaderparser/parser.py b/cxxheaderparser/parser.py index a81ebe5..8582f07 100644 --- a/cxxheaderparser/parser.py +++ b/cxxheaderparser/parser.py @@ -1514,6 +1514,10 @@ def _parse_pqname_decltype_specifier(self) -> DecltypeSpecifier: "float", "double", "char", + "__int8", + "__int16", + "__int32", + "__int64" } _fundamentals = _compound_fundamentals | { @@ -1522,11 +1526,7 @@ def _parse_pqname_decltype_specifier(self) -> DecltypeSpecifier: "char32_t", "nullptr_t", "wchar_t", - "void", - "__int8", - "__int16", - "__int32", - "__int64" + "void" } def _parse_pqname_fundamental(self, tok_value: str) -> FundamentalSpecifier: