summaryrefslogtreecommitdiff
path: root/Build/source/utils/lacheck/lacheck.l
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/lacheck/lacheck.l')
-rw-r--r--Build/source/utils/lacheck/lacheck.l3
1 files changed, 2 insertions, 1 deletions
diff --git a/Build/source/utils/lacheck/lacheck.l b/Build/source/utils/lacheck/lacheck.l
index d1b783e034c..bc6f9fca9eb 100644
--- a/Build/source/utils/lacheck/lacheck.l
+++ b/Build/source/utils/lacheck/lacheck.l
@@ -1030,7 +1030,8 @@ void e_checkend(int n, char *name)
if ( CG_TYPE != n || strcmp( CG_NAME, name ) != 0 )
print_bad_match(name,n);
- pop();
+ if ( CG_TYPE != 3 )
+ pop();
}
}