Add support for parsing C++11 final classes
Such as:
class X final {};
This no longer gives a syntax error.
This change has introduced one more shift-reduce conflict in the parser.
with a conflict with a C style variable declaration with name final:
class X final;
resulting in a syntax error (for C++ not C). This is an an unusual style
for C++ code and more typical declarations do work:
X final;
Closes #672
This commit is contained in:
parent
76f5670fa4
commit
ba279ae939
9 changed files with 267 additions and 24 deletions
|
|
@ -7,6 +7,13 @@ the issue number to the end of the URL: https://github.com/swig/swig/issues/
|
|||
Version 4.1.0 (in progress)
|
||||
===========================
|
||||
|
||||
2022-10-05: olly, wsfulton
|
||||
#672 Add support for parsing C++11 final classes such as:
|
||||
|
||||
class X final {};
|
||||
|
||||
This no longer gives a syntax error.
|
||||
|
||||
2022-10-05: wsfulton
|
||||
[OCaml] Fix %rename for enum items. Previously the rename had no effect.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue