From c31ba8abee7a9f836d32e231d772ea807cf87714 Mon Sep 17 00:00:00 2001 From: Melody Horn Date: Thu, 25 Mar 2021 18:15:01 -0600 Subject: correctly return parse result from all_consuming --- yapymake/makefile/parse_util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yapymake/makefile/parse_util.py b/yapymake/makefile/parse_util.py index ee99831..f31e970 100644 --- a/yapymake/makefile/parse_util.py +++ b/yapymake/makefile/parse_util.py @@ -70,7 +70,7 @@ def all_consuming(parser: Parser[T]) -> Parser[T]: result, extra = result if len(extra) > 0: return None - return result + return result, '' return parse def map_parser(parser: Parser[T1], mapper: Callable[[T1], T2]) -> Parser[T2]: -- cgit v1.2.3