set isPointer if the type suffix is a star

This commit is contained in:
ryuukk 2023-02-03 20:31:05 +01:00 committed by GitHub
parent 0f69db00fb
commit 6c1a25883b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -1127,7 +1127,10 @@ private:
foreach (suffix; type.typeSuffixes)
{
if (suffix.star != tok!"")
{
currentSymbol.acSymbol.isPointer = true;
continue;
}
else if (suffix.type)
lookup.breadcrumbs.insert(ASSOC_ARRAY_SYMBOL_NAME);
else if (suffix.array)