Parse extra type information for conversion operators

- Fixes #57
This commit is contained in:
Dustin Spicuzza
2023-08-19 20:02:03 -04:00
parent 6ab0d00c2f
commit f597b691f7
2 changed files with 78 additions and 1 deletions

View File

@@ -2307,6 +2307,9 @@ class CxxParser:
cmods.validate(var_ok=False, meth_ok=False, msg="parsing conversion operator")
# Check for any cv decorations for the type
rtype = self._parse_cv_ptr(ctype)
# then this must be a method
self._next_token_must_be("(")
@@ -2317,7 +2320,7 @@ class CxxParser:
if self._parse_function(
mods,
ctype,
rtype,
pqname,
op,
template,