+ def parseCurrpos(self, tail):
+
+ tail = tail.strip()
+ rx = re.compile("^[\w/\._\-]+:\d+$")
+
+ if not rx.search(tail):
+ print "Wrong current position format:", tail
+ return
+
+ [file,lineno] = string.split(tail, ":")
+ lineno = int(lineno)
+
+ self.setCurrpos(file, lineno)
+
+ def parseCommand(self, tail):
+ self.command = tail
+