only for properly constructed symbols

This commit is contained in:
ryuukk 2023-02-03 20:36:57 +01:00 committed by GitHub
parent 64328dcf88
commit 07f9b1c8ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -1128,7 +1128,8 @@ private:
{ {
if (suffix.star != tok!"") if (suffix.star != tok!"")
{ {
currentSymbol.acSymbol.isPointer = true; if (currentSymbol && currentSymbol.acSymbol)
currentSymbol.acSymbol.isPointer = true;
continue; continue;
} }
else if (suffix.type) else if (suffix.type)