diff cmd2.py @ 183:403e1c3ffc4a

changed order for blankline parsing
author catherine@Elli.myhome.westell.com
date Fri, 16 Jan 2009 04:43:33 -0500
parents 1c21db096f49
children d1a87c14675b
line wrap: on
line diff
--- a/cmd2.py	Thu Jan 15 19:38:07 2009 -0500
+++ b/cmd2.py	Fri Jan 16 04:43:33 2009 -0500
@@ -399,9 +399,9 @@
         self.parser = (
             stringEnd |
             multilineParser |
+            blankLineTerminationParser |
             multilineCommand + pyparsing.SkipTo(stringEnd) |
-            singleLineParser |
-            blankLineTerminationParser
+            singleLineParser
             )
         self.parser.ignore(pyparsing.sglQuotedString).ignore(pyparsing.dblQuotedString).ignore(self.commentGrammars).ignore(self.commentInProgress)