Support parsing of virtual functions
This commit is contained in:
parent
2ce5995a1c
commit
a6deb61207
|
@ -4712,6 +4712,7 @@ q{(int a, ...)
|
||||||
* | $(LITERAL 'enum')
|
* | $(LITERAL 'enum')
|
||||||
* | $(LITERAL 'extern')
|
* | $(LITERAL 'extern')
|
||||||
* | $(LITERAL 'final')
|
* | $(LITERAL 'final')
|
||||||
|
* | $(LITERAL 'virtual')
|
||||||
* | $(LITERAL 'nothrow')
|
* | $(LITERAL 'nothrow')
|
||||||
* | $(LITERAL 'override')
|
* | $(LITERAL 'override')
|
||||||
* | $(LITERAL 'pure')
|
* | $(LITERAL 'pure')
|
||||||
|
@ -4743,6 +4744,7 @@ q{(int a, ...)
|
||||||
case tok!"enum":
|
case tok!"enum":
|
||||||
case tok!"extern":
|
case tok!"extern":
|
||||||
case tok!"final":
|
case tok!"final":
|
||||||
|
case tok!"virtual":
|
||||||
case tok!"nothrow":
|
case tok!"nothrow":
|
||||||
case tok!"override":
|
case tok!"override":
|
||||||
case tok!"pure":
|
case tok!"pure":
|
||||||
|
@ -6376,6 +6378,7 @@ protected:
|
||||||
case tok!"abstract":
|
case tok!"abstract":
|
||||||
case tok!"pure":
|
case tok!"pure":
|
||||||
case tok!"nothrow":
|
case tok!"nothrow":
|
||||||
|
case tok!"virtual":
|
||||||
return true;
|
return true;
|
||||||
mixin(BASIC_TYPE_CASES);
|
mixin(BASIC_TYPE_CASES);
|
||||||
return !peekIs(tok!".");
|
return !peekIs(tok!".");
|
||||||
|
@ -6479,6 +6482,7 @@ protected:
|
||||||
case tok!"public":
|
case tok!"public":
|
||||||
case tok!"export":
|
case tok!"export":
|
||||||
case tok!"final":
|
case tok!"final":
|
||||||
|
case tok!"virtual":
|
||||||
case tok!"synchronized":
|
case tok!"synchronized":
|
||||||
case tok!"override":
|
case tok!"override":
|
||||||
case tok!"abstract":
|
case tok!"abstract":
|
||||||
|
|
Loading…
Reference in New Issue