Lines Matching full:infile
23 def __init__(self, instream=None, infile=None, posix=False):
28 self.infile = infile
31 self.infile = None
69 self.filestack.appendleft((self.infile, self.instream, self.lineno))
70 self.infile = newfile
75 print 'shlex: pushing to file %s' % (self.infile,)
82 (self.infile, self.instream, self.lineno) = self.filestack.popleft()
253 if isinstance(self.infile, basestring) and not os.path.isabs(newfile):
254 newfile = os.path.join(os.path.dirname(self.infile), newfile)
257 def error_leader(self, infile=None, lineno=None):
259 if infile is None:
260 infile = self.infile
263 return "\"%s\", line %d: " % (infile, lineno)