# HG changeset patch # User catherine@Elli.myhome.westell.com # Date 1222170191 14400 # Node ID 7e5105efa15de8d1611226ce71a6d63678529f66 # Parent 5a021524805ac0f4d72d92e9aa64ddc7a3ee5a0a catch all terminators when parsing diff -r 5a021524805a -r 7e5105efa15d sqlpyPlus.py --- a/sqlpyPlus.py Tue Sep 23 07:29:30 2008 -0400 +++ b/sqlpyPlus.py Tue Sep 23 07:43:11 2008 -0400 @@ -555,7 +555,7 @@ return completions rowlimitPattern = pyparsing.Word(pyparsing.nums)('rowlimit') - terminatorPattern = (pyparsing.oneOf('; \\s \\S \\c \\C \\t \\x \\h') + terminatorPattern = (pyparsing.oneOf('; \\s \\S \\c \\C \\t \\x \\h \\g \\G \\i') ^ pyparsing.Literal('\n/') ^ \ (pyparsing.Literal('\nEOF') + pyparsing.stringEnd)) \ ('terminator') + \ @@ -726,7 +726,6 @@ print 'Could not resolve object %s.' % identifier object_type, owner, object_name = '', '', '' return object_type, owner, object_name - #todo: resolve not finding cwm$ table def do_resolve(self, arg): arg = self.parsed(arg).unterminated.upper()