The InputLevel variable only exists when NOPP is not defined
This commit is contained in:
parent
9d08fc6678
commit
10b58a8520
3 changed files with 15 additions and 3 deletions
|
@ -252,7 +252,11 @@ garbage:
|
|||
UnGetChar();
|
||||
return ptok->tk_symb = ch;
|
||||
case '/':
|
||||
if (nch == '*' && !InputLevel) {
|
||||
if (nch == '*'
|
||||
#ifndef NOPP
|
||||
&& !InputLevel
|
||||
#endif
|
||||
) {
|
||||
skipcomment();
|
||||
goto again;
|
||||
}
|
||||
|
|
|
@ -40,18 +40,22 @@ getwdir(fn)
|
|||
}
|
||||
return "";
|
||||
}
|
||||
|
||||
int InputLevel;
|
||||
#endif NOPP
|
||||
|
||||
int NoUnstack;
|
||||
int InputLevel;
|
||||
|
||||
AtEoIT()
|
||||
{
|
||||
#ifndef NOPP
|
||||
InputLevel--;
|
||||
unstackrepl();
|
||||
#endif NOPP
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
AtEoIF()
|
||||
{
|
||||
#ifndef NOPP
|
||||
|
|
|
@ -67,7 +67,11 @@ SkipToNewLine(garbage)
|
|||
|
||||
while ((ch = GetChar()) != '\n') {
|
||||
if (ch == '/') {
|
||||
if ((ch = GetChar()) == '*' && !InputLevel) {
|
||||
if ((ch = GetChar()) == '*'
|
||||
#ifndef NOPP
|
||||
&& !InputLevel
|
||||
#endif
|
||||
) {
|
||||
skipcomment();
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue