ref: 743db5c26f0173ca447f0de8533c14abdd79f0da
parent: e6e455cf62362367eed000de2771ca275953ec93
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Fri Aug 14 03:37:31 EDT 2015
Fix comment in compound() We have a symbolic constant now for global context, use it.
--- a/cc1/stmt.c
+++ b/cc1/stmt.c
@@ -333,10 +333,10 @@
popctx();
/*
- * curctx == 1 means we are at the end of a function
+ * curctx == GLOBALCTX+1 means we are at the end of a function
* so we have to pop the context related to the parameters
*/
- if (curctx == 1)
+ if (curctx == GLOBALCTX+1)
popctx();
expect('}');
}