iASL: use pre-increment for globals to avoid confusion between pointer arithmetic and actual increment

This commit is contained in:
Erik Schmauss 2019-04-04 19:00:16 -07:00
parent 15daa52f2f
commit 40d879fa54

View File

@ -532,18 +532,18 @@ count (
{
case 2:
AslGbl_TotalKeywords++;
AslGbl_TotalNamedObjects++;
AslGbl_FilesList->TotalKeywords++;
AslGbl_FilesList->TotalNamedObjects++;
++AslGbl_TotalKeywords;
++AslGbl_TotalNamedObjects;
++AslGbl_FilesList->TotalKeywords;
++AslGbl_FilesList->TotalNamedObjects;
break;
case 3:
AslGbl_TotalKeywords++;
AslGbl_TotalExecutableOpcodes++;
AslGbl_FilesList->TotalKeywords++;
AslGbl_FilesList->TotalExecutableOpcodes++;
++AslGbl_TotalKeywords;
++AslGbl_TotalExecutableOpcodes;
++AslGbl_FilesList->TotalKeywords;
++AslGbl_FilesList->TotalExecutableOpcodes;
break;
default: