mirror of
https://github.com/ZDoom/acc.git
synced 2025-02-11 22:37:54 +00:00
Fixed: #region blocks should not increase outertokencount (otherwise #library inside a #region will generate the ERR_LIBRARY_NOT_FIRST error).
This commit is contained in:
parent
61db6c3fd2
commit
b59cc47e53
1 changed files with 1 additions and 0 deletions
1
parse.c
1
parse.c
|
@ -522,6 +522,7 @@ static void Outside(void)
|
|||
break;
|
||||
case TK_REGION: // [mxd]
|
||||
case TK_ENDREGION:
|
||||
outertokencount--; // #region markers should not count as "real" tokens
|
||||
TK_SkipLine();
|
||||
break;
|
||||
default:
|
||||
|
|
Loading…
Reference in a new issue