Mercurial > python-cmd2
diff cmd2.py @ 142:c05afe3b5501
commenting finally ironed out
author | catherine@dellzilla |
---|---|
date | Mon, 17 Nov 2008 14:32:18 -0500 |
parents | fc31b73cb04d |
children | f0fa9965a985 |
line wrap: on
line diff
--- a/cmd2.py Mon Nov 17 09:17:00 2008 -0500 +++ b/cmd2.py Mon Nov 17 14:32:18 2008 -0500 @@ -266,10 +266,11 @@ result['unterminated'] = result.before result['parseable'] = result.after else: - result['statement'] = result['unterminated'] = result.before # does not catch output marks + # does not catch output marks if command in self.multilineCommands: return result # don't bother with the rest, we're still collecting input result += parseSearchResults(self.punctuationPattern, s) + result['statement'] = result['unterminated'] = result.before result += parseSearchResults(self.pipePattern, result.parseable) result += parseSearchResults(self.redirectInPattern, result.parseable) result += parseSearchResults(self.redirectOutPattern, result.parseable)