X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=parser.c;h=82284c0e51b93d85b3ad701930bc963b019c5799;hb=c1d59e2ca66b8996fd86bb309cb8f875cb9c8f74;hp=db28f7ef217955f33532880cebd91d6dd6e03e60;hpb=503bb0cd3230b1103f546276f4b944b4c394298b;p=cparser diff --git a/parser.c b/parser.c index db28f7e..82284c0 100644 --- a/parser.c +++ b/parser.c @@ -7501,7 +7501,7 @@ static statement_t *parse_goto(void) if(token.type != T_IDENTIFIER) { parse_error_expected("while parsing goto", T_IDENTIFIER, NULL); eat_statement(); - return NULL; + goto end_error; } symbol_t *symbol = token.v.symbol; next_token();