diff options
author | Melody Horn <melody@boringcactus.com> | 2021-03-25 18:15:01 -0600 |
---|---|---|
committer | Melody Horn <melody@boringcactus.com> | 2021-03-25 18:15:01 -0600 |
commit | c31ba8abee7a9f836d32e231d772ea807cf87714 (patch) | |
tree | 51f773967f5871646eab5ce235af04015c43682a | |
parent | 459141ef81edcaa0f552eeb318cb4b7b7e8ef1c8 (diff) | |
download | yapymake-c31ba8abee7a9f836d32e231d772ea807cf87714.tar.gz yapymake-c31ba8abee7a9f836d32e231d772ea807cf87714.zip |
correctly return parse result from all_consuming
-rw-r--r-- | yapymake/makefile/parse_util.py | 2 |
1 files changed, 1 insertions, 1 deletions
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]: |