# HG changeset patch # User catherine@Elli.myhome.westell.com # Date 1219776768 14400 # Node ID 40bbe808e98a52a8f875b028b1b50f47bb23c1b6 # Parent d8661065fb77b767ba2eb206455fed0c9643f245 seems to have fixed editing of hanging files diff -r d8661065fb77 -r 40bbe808e98a sqlpyPlus.py --- a/sqlpyPlus.py Fri Aug 15 09:45:48 2008 -0400 +++ b/sqlpyPlus.py Tue Aug 26 14:52:48 2008 -0400 @@ -508,7 +508,9 @@ rowlimitPattern = pyparsing.Word(pyparsing.nums)('rowlimit') terminatorPattern = (pyparsing.oneOf('; \\s \\S \\c \\C \\t \\x \\h') - ^ pyparsing.Literal('\n/\n')) ('terminator') + \ + ^ pyparsing.Literal('\n/') ^ \ + (pyparsing.Literal('\nEOF') + pyparsing.stringEnd)) \ + ('terminator') + \ pyparsing.Optional(rowlimitPattern) def do_select(self, arg, bindVarsIn=None, override_terminator=None): """Fetch rows from a table.