From d710a71ba0c99fd0eb647536fa66fe6e09939430 Mon Sep 17 00:00:00 2001 From: drmortalwombat <90205530+drmortalwombat@users.noreply.github.com> Date: Mon, 19 May 2025 08:16:58 +0200 Subject: [PATCH] Fix static const member qualification with dot --- oscar64/Parser.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/oscar64/Parser.cpp b/oscar64/Parser.cpp index f41db17..b455d82 100644 --- a/oscar64/Parser.cpp +++ b/oscar64/Parser.cpp @@ -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) {