This commit is contained in:
Jamie Hardt
2024-07-01 22:15:53 -07:00
parent a6544d4777
commit ab36babfa8

View File

@@ -1,6 +1,12 @@
# util.py """
mfbatch util - utility functions
"""
def readline_with_escaped_newlines(f): def readline_with_escaped_newlines(f):
"""
A readline line generator, except lines ending with a backslash will be
combined with their successor.
"""
line = '' line = ''
line_no = 0 line_no = 0
while True: while True: