Skip to content

Commit

Permalink
Fix Options parser
Browse files Browse the repository at this point in the history
  • Loading branch information
crcollins committed May 9, 2017
1 parent 4a1b0b0 commit 7f01db7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions chemtools/fileparser.py
Original file line number Diff line number Diff line change
Expand Up @@ -666,6 +666,10 @@ def parse(self, line):
if "--------" in line:
self.done = True
return
elif "\\\\" in line:
# In block at end of file
self.done = True
line = line.split("\\\\")[0]

self.value += line.lstrip("# ")

Expand Down

0 comments on commit 7f01db7

Please sign in to comment.