Added an XXX.

This commit is contained in:
Jeremy Fincher 2004-10-24 06:34:28 +00:00
parent 447a6e63e0
commit 9e813ff778
1 changed files with 4 additions and 0 deletions

View File

@ -74,6 +74,10 @@ def open(filename, clear=False):
acc = ''
for line in fd:
line = line.rstrip('\r\n')
# XXX There should be some way to determine whether or not we're
# starting a new variable or not. As it is, if there's a backslash
# at the end of every line in a variable, it won't be read, and
# worse, the error will pass silently.
if line.endswith('\\'):
acc += line[:-1]
continue