harec

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 5ba69ba61fac1df66dc6580b23058a7503ffbc42
parent aa33ee219911e2070c31270372eac51344ad6d31
Author: Eyal Sawady <ecs@d2evs.net>
Date:   Thu, 11 Mar 2021 14:02:01 -0500

parse: fix type decls with multiple declarations

Diffstat:
Msrc/parse.c | 1-
1 file changed, 0 insertions(+), 1 deletion(-)

diff --git a/src/parse.c b/src/parse.c @@ -2444,7 +2444,6 @@ parse_type_decl(struct lexer *lexer, struct ast_type_decl *decl) i->type = parse_type(lexer); switch (lex(lexer, &tok)) { case T_COMMA: - lex(lexer, &tok); if (lex(lexer, &tok) == T_NAME) { i->next = xcalloc(1, sizeof(struct ast_type_decl)); i = i->next;