cxxheaderparser 1.7.2__tar.gz → 1.7.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {cxxheaderparser-1.7.2 → cxxheaderparser-1.7.3}/PKG-INFO +1 -1
- {cxxheaderparser-1.7.2 → cxxheaderparser-1.7.3}/cxxheaderparser/lexer.py +1 -0
- {cxxheaderparser-1.7.2 → cxxheaderparser-1.7.3}/cxxheaderparser/parser.py +3 -3
- {cxxheaderparser-1.7.2 → cxxheaderparser-1.7.3}/cxxheaderparser/version.py +2 -2
- {cxxheaderparser-1.7.2 → cxxheaderparser-1.7.3}/.gitignore +0 -0
- {cxxheaderparser-1.7.2 → cxxheaderparser-1.7.3}/LICENSE.txt +0 -0
- {cxxheaderparser-1.7.2 → cxxheaderparser-1.7.3}/README.md +0 -0
- {cxxheaderparser-1.7.2 → cxxheaderparser-1.7.3}/cxxheaderparser/__init__.py +0 -0
- {cxxheaderparser-1.7.2 → cxxheaderparser-1.7.3}/cxxheaderparser/__main__.py +0 -0
- {cxxheaderparser-1.7.2 → cxxheaderparser-1.7.3}/cxxheaderparser/_ply/__init__.py +0 -0
- {cxxheaderparser-1.7.2 → cxxheaderparser-1.7.3}/cxxheaderparser/_ply/lex.py +0 -0
- {cxxheaderparser-1.7.2 → cxxheaderparser-1.7.3}/cxxheaderparser/dump.py +0 -0
- {cxxheaderparser-1.7.2 → cxxheaderparser-1.7.3}/cxxheaderparser/errors.py +0 -0
- {cxxheaderparser-1.7.2 → cxxheaderparser-1.7.3}/cxxheaderparser/gentest.py +0 -0
- {cxxheaderparser-1.7.2 → cxxheaderparser-1.7.3}/cxxheaderparser/options.py +0 -0
- {cxxheaderparser-1.7.2 → cxxheaderparser-1.7.3}/cxxheaderparser/parserstate.py +0 -0
- {cxxheaderparser-1.7.2 → cxxheaderparser-1.7.3}/cxxheaderparser/preprocessor.py +0 -0
- {cxxheaderparser-1.7.2 → cxxheaderparser-1.7.3}/cxxheaderparser/py.typed +0 -0
- {cxxheaderparser-1.7.2 → cxxheaderparser-1.7.3}/cxxheaderparser/simple.py +0 -0
- {cxxheaderparser-1.7.2 → cxxheaderparser-1.7.3}/cxxheaderparser/tokfmt.py +0 -0
- {cxxheaderparser-1.7.2 → cxxheaderparser-1.7.3}/cxxheaderparser/types.py +0 -0
- {cxxheaderparser-1.7.2 → cxxheaderparser-1.7.3}/cxxheaderparser/visitor.py +0 -0
- {cxxheaderparser-1.7.2 → cxxheaderparser-1.7.3}/pyproject.toml +0 -0
|
@@ -2432,7 +2432,7 @@ class CxxParser:
|
|
|
2432
2432
|
|
|
2433
2433
|
while True:
|
|
2434
2434
|
tok = self.lex.token_if(
|
|
2435
|
-
"*", "const", "volatile", "__restrict__", "restrict", "("
|
|
2435
|
+
"*", "const", "volatile", "__restrict__", "__restrict", "restrict", "("
|
|
2436
2436
|
)
|
|
2437
2437
|
if not tok:
|
|
2438
2438
|
break
|
|
@@ -2449,7 +2449,7 @@ class CxxParser:
|
|
|
2449
2449
|
if not isinstance(dtype, (Pointer, Type)):
|
|
2450
2450
|
raise self._parse_error(tok)
|
|
2451
2451
|
dtype.volatile = True
|
|
2452
|
-
elif tok.type in ("__restrict__", "restrict"):
|
|
2452
|
+
elif tok.type in ("__restrict__", "__restrict", "restrict"):
|
|
2453
2453
|
if not isinstance(dtype, (Pointer, Reference)):
|
|
2454
2454
|
raise self._parse_error(tok)
|
|
2455
2455
|
dtype.restrict = True
|
|
@@ -2524,7 +2524,7 @@ class CxxParser:
|
|
|
2524
2524
|
|
|
2525
2525
|
# peek at the next token and see if it's a paren. If so, it might
|
|
2526
2526
|
# be a nasty function pointer
|
|
2527
|
-
if self.lex.token_peek_if("(", "__restrict__", "restrict"):
|
|
2527
|
+
if self.lex.token_peek_if("(", "__restrict__", "__restrict", "restrict"):
|
|
2528
2528
|
dtype = self._parse_cv_ptr_or_fn(dtype, nonptr_fn)
|
|
2529
2529
|
|
|
2530
2530
|
return dtype
|
|
@@ -18,7 +18,7 @@ version_tuple: tuple[int | str, ...]
|
|
|
18
18
|
commit_id: str | None
|
|
19
19
|
__commit_id__: str | None
|
|
20
20
|
|
|
21
|
-
__version__ = version = '1.7.
|
|
22
|
-
__version_tuple__ = version_tuple = (1, 7,
|
|
21
|
+
__version__ = version = '1.7.3'
|
|
22
|
+
__version_tuple__ = version_tuple = (1, 7, 3)
|
|
23
23
|
|
|
24
24
|
__commit_id__ = commit_id = None
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|