Skip to content

Commit

Permalink
Merge pull request #10791 from albert-github/feature/issue_10790
Browse files Browse the repository at this point in the history
issue #10790 Failed to build "master" branch
  • Loading branch information
doxygen committed Apr 11, 2024
2 parents aa55cc8 + 2a7e195 commit d496bbd
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions doc/translator.py
Original file line number Diff line number Diff line change
Expand Up @@ -570,6 +570,8 @@ def collectPureVirtualPrototypes(self):
pass
elif tokenId == 'rcurly':
status = 11 # expected end of class
elif tokenId == 'id' and tokenStr == 'ABSTRACT_BASE_CLASS':
status = 18
else:
self.__unexpectedToken(status, tokenId, tokenLineNo)

Expand Down Expand Up @@ -712,6 +714,16 @@ def collectPureVirtualPrototypes(self):
else:
self.__unexpectedToken(status, tokenId, tokenLineNo)

elif status == 18: # start of the ABSTRACT_BASE_CLASS
if tokenId == 'lpar':
pass
elif tokenId == 'rpar':
status = 2
elif tokenId == 'id':
pass
else:
self.__unexpectedToken(status, tokenId, tokenLineNo)

# Eat the rest of the source to cause closing the file.
while tokenId != 'eof':
tokenId, tokenStr, tokenLineNo = next(tokenIterator)
Expand Down

0 comments on commit d496bbd

Please sign in to comment.