mirror of
https://github.com/ZDoom/acc.git
synced 2024-11-23 04:12:32 +00:00
- fixed: outertokencount must be reset after an #import directive, so that the position check for the inner #library finds the correct value.
This commit is contained in:
parent
76b8552d4d
commit
0f40a7aebe
1 changed files with 1 additions and 0 deletions
1
parse.c
1
parse.c
|
@ -496,6 +496,7 @@ static void Outside(void)
|
|||
break;
|
||||
case TK_IMPORT:
|
||||
OuterImport();
|
||||
outertokencount = 0;
|
||||
break;
|
||||
case TK_LIBRARY:
|
||||
if (outertokencount != 1)
|
||||
|
|
Loading…
Reference in a new issue