mirror of
https://github.com/ZDoom/acc.git
synced 2025-03-13 03:42:17 +00:00
Merge pull request #45 from m-x-d/region_fix
Fixed: #region blocks should not increase outertokencount (otherwise …
This commit is contained in:
commit
71e79258dc
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