From 198e35a823325bb2396e0ad9d69dacc0f2298f71 Mon Sep 17 00:00:00 2001 From: "Wolfgang (Blub) Bumiller" Date: Mon, 20 Aug 2012 18:10:06 +0200 Subject: [PATCH] Fix correction of parsiong of multiple variables: parse past the comma --- parser.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/parser.c b/parser.c index c768555..4f5b7be 100644 --- a/parser.c +++ b/parser.c @@ -2108,6 +2108,10 @@ nextvar: if (parser->tok == ',') { /* another var */ + if (!parser_next(parser)) { + ast_delete(typevar); + return false; + } continue; } -- 2.39.2