C90 param, void

This commit is contained in:
Lauri Kasanen
2019-04-14 19:45:53 +03:00
committed by greg-king5
parent a9cbb5305c
commit 654d972288
3 changed files with 5 additions and 4 deletions

View File

@@ -699,8 +699,9 @@ static void Primary (ExprDesc* E)
case TOK_BOOL_AND:
/* A computed goto label address */
if (IS_Get (&Standard) >= STD_CC65) {
SymEntry* Entry;
NextToken ();
SymEntry* Entry = AddLabelSym (CurTok.Ident, SC_REF | SC_GOTO_IND);
Entry = AddLabelSym (CurTok.Ident, SC_REF | SC_GOTO_IND);
/* output its label */
E->Flags = E_RTYPE_RVAL | E_LOC_STATIC;
E->Name = Entry->V.L.Label;