commit 401f1f8b893bfcb71ae24e75f8126c2f40558ff9
Author:     Roberto E. Vargas Caballero <[email protected]>
AuthorDate: Sun Feb 19 19:25:30 2017 +0100
Commit:     Roberto E. Vargas Caballero <[email protected]>
CommitDate: Sun Feb 19 19:25:30 2017 +0100

    [cc1] Remove old code from newsym()
    
    Once upon a time when cpp symbols were stored in the same table than
    the blocked symbols and this code was a hack to avoid them to be
    removed in any popctx(). This is not needed anymore

diff --git a/cc1/symbol.c b/cc1/symbol.c
index 6953db8..0053ba3 100644
--- a/cc1/symbol.c
+++ b/cc1/symbol.c
@@ -187,7 +187,7 @@ newsym(int ns, char *name)
        sym->id = 0;
        sym->hide = 0;
        sym->ns = ns;
-       sym->ctx = (ns == NS_CPP) ? UCHAR_MAX : curctx;
+       sym->ctx = curctx;
        sym->token = IDEN;
        sym->flags = 0;
        sym->u.s = NULL;

Reply via email to