Looking at the treelang/parse.y I have found the following (lines 202-208)

     if (STORAGE_CLASS (prod) == EXTERNAL_REFERENCE_STORAGE)
        {
          error("%HExternal reference variable %q.*s has an initial value.",
                &tok->tp.tok.location, tok->tp.tok.length, tok->tp.tok.chars);
          YYERROR;
          VAR_INIT (prod) = NULL;
        }

The line
VAR_INIT (prod) = NULLs
is dead since YYERROR is defined as "goto yyerrorlab"

Rafael Ávila de Espíndola

Attachment: pgpVmGylDQU9l.pgp
Description: PGP signature

Reply via email to