Remove unused members from TPpContext.
The ErrMsg and ifloc members were unused or had no effect.
This commit is contained in:
parent
d618070ab0
commit
1ee1f88b40
2 changed files with 2 additions and 4 deletions
|
|
@ -551,8 +551,7 @@ int TPpContext::CPPif(TPpToken* ppToken)
|
|||
{
|
||||
int token = scanToken(ppToken);
|
||||
elsetracker++;
|
||||
if (! ifdepth++)
|
||||
ifloc = ppToken->loc;
|
||||
ifdepth++;
|
||||
if (ifdepth > maxIfNesting) {
|
||||
parseContext.ppError(ppToken->loc, "maximum nesting depth exceeded", "#if", "");
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue