- fix: keyword 'final' in inhertid class definition is not correctly processed
This commit is contained in:
parent
7e6d900049
commit
e3d7af019d
1
NEWS.md
1
NEWS.md
|
@ -7,6 +7,7 @@ Red Panda C++ Version 1.0.7
|
||||||
- fix: index of the longest line not correctly updated when inputting with auto completion open
|
- fix: index of the longest line not correctly updated when inputting with auto completion open
|
||||||
- enhancement: support UTF-8 BOM files
|
- enhancement: support UTF-8 BOM files
|
||||||
- enhancement: add new tool button for "compiler options"
|
- enhancement: add new tool button for "compiler options"
|
||||||
|
- fix: keyword 'final' in inhertid class definition is not correctly processed
|
||||||
|
|
||||||
Red Panda C++ Version 1.0.6
|
Red Panda C++ Version 1.0.6
|
||||||
- fix: gcc compiler set name is not correct in Linux
|
- fix: gcc compiler set name is not correct in Linux
|
||||||
|
|
|
@ -4444,6 +4444,10 @@
|
||||||
<source>Encode in UTF-8 BOM</source>
|
<source>Encode in UTF-8 BOM</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Compiler Options...</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>NewClassDialog</name>
|
<name>NewClassDialog</name>
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -4444,6 +4444,10 @@
|
||||||
<source>Encode in UTF-8 BOM</source>
|
<source>Encode in UTF-8 BOM</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Compiler Options...</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>NewClassDialog</name>
|
<name>NewClassDialog</name>
|
||||||
|
|
|
@ -2774,6 +2774,7 @@ void CppParser::handleStructs(bool isTypedef)
|
||||||
} else if ((mIndex + 2 < mTokenizer.tokenCount())
|
} else if ((mIndex + 2 < mTokenizer.tokenCount())
|
||||||
&& (mTokenizer[mIndex + 1]->text == "final")
|
&& (mTokenizer[mIndex + 1]->text == "final")
|
||||||
&& (mTokenizer[mIndex + 2]->text.front()==','
|
&& (mTokenizer[mIndex + 2]->text.front()==','
|
||||||
|
|| mTokenizer[mIndex + 2]->text.front()==':'
|
||||||
|| isblockChar(mTokenizer[mIndex + 2]->text.front()))) {
|
|| isblockChar(mTokenizer[mIndex + 2]->text.front()))) {
|
||||||
QString command = mTokenizer[mIndex]->text;
|
QString command = mTokenizer[mIndex]->text;
|
||||||
if (!command.isEmpty()) {
|
if (!command.isEmpty()) {
|
||||||
|
|
Loading…
Reference in New Issue