Mercurial > genshi > genshi-test
diff markup/template.py @ 139:54131cbb91a5
Implement position reporting for XPath syntax errors. Closes #20.
author | cmlenz |
---|---|
date | Wed, 09 Aug 2006 12:25:02 +0000 |
parents | df44110ca91d |
children | a2edde90ad24 |
line wrap: on
line diff
--- a/markup/template.py +++ b/markup/template.py @@ -430,7 +430,7 @@ def __init__(self, value, filename=None, lineno=-1, offset=-1): Directive.__init__(self, None, filename, lineno, offset) - self.path = Path(value) + self.path = Path(value, filename, lineno) self.stream = [] def __call__(self, stream, ctxt, directives):