Fix static const member qualification with dot
This commit is contained in:
parent
8dd211b662
commit
d710a71ba0
|
@ -7279,6 +7279,13 @@ Expression* Parser::ParseQualify(Expression* exp)
|
|||
exp = nexp;
|
||||
}
|
||||
}
|
||||
else if (mdec->mType == DT_CONST_INTEGER || mdec->mType == DT_CONST_FLOAT || mdec->mType == DT_CONST_POINTER || mdec->mType == DT_CONST_ADDRESS)
|
||||
{
|
||||
nexp = new Expression(mScanner->mLocation, EX_CONSTANT);
|
||||
nexp->mDecValue = mdec;
|
||||
nexp->mDecType = mdec->mBase;
|
||||
exp = nexp;
|
||||
}
|
||||
}
|
||||
else if (destructor)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue