URI:
       cc1: Fix bug introduced in 15b64d5 - scc - simple c99 compiler
  HTML git clone git://git.simple-cc.org/scc
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
   DIR commit 5136c8c992d0d99e593e447a0e74aa79dc50fb18
   DIR parent 15b64d5d2636103fdeafea92ea7886dbd23c6574
  HTML Author: Roberto E. Vargas Caballero <k0ga@shike2.net>
       Date:   Wed,  3 Jun 2026 11:04:49 +0200
       
       cc1: Fix bug introduced in 15b64d5
       
       The symbol related to the tag is symtag and not sym
       which ius used later and it is not initialized at this
       point.
       
       Co-authored-by: Zhaoming Luo <zhml@posteo.com>
       
       Diffstat:
         M src/cmd/scc-cc/cc1/decl.c           |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
   DIR diff --git a/src/cmd/scc-cc/cc1/decl.c b/src/cmd/scc-cc/cc1/decl.c
       @@ -872,7 +872,7 @@ enumdcl(void)
        
                namespace = NS_IDEN;
                if (!accept('{')) {
       -                if (sym->name == NULL)
       +                if (tagsym->name == NULL)
                                unexpected();
                        namespace = ns;
                        return tp;