Mercurial > python-cmd2
diff cmd2.py @ 144:2d3477aa79d4
parsing tweaks
author | catherine@dellzilla |
---|---|
date | Tue, 18 Nov 2008 18:06:05 -0500 |
parents | f0fa9965a985 |
children | 0e0fc729e1a2 |
line wrap: on
line diff
--- a/cmd2.py Tue Nov 18 13:12:43 2008 -0500 +++ b/cmd2.py Tue Nov 18 18:06:05 2008 -0500 @@ -258,8 +258,6 @@ s = self.shortcuts[s[0]] + ' ' + s[1:] result['statement'] = s result['parseable'] = s -# terminator = self.specialTerminators.get(command) or self.terminatorPattern - self.terminatorPattern.ignore(self.commentInProgress) result += parseSearchResults(self.terminatorPattern, s) if result.terminator: result['statement'] = result.upToIncluding