fixed bug in parser, untagged 1.2 (ready for retagging)
authorArmin Ronacher <armin.ronacher@active-4.com>
Sat, 17 Nov 2007 22:13:01 +0000 (23:13 +0100)
committerArmin Ronacher <armin.ronacher@active-4.com>
Sat, 17 Nov 2007 22:13:01 +0000 (23:13 +0100)
--HG--
branch : trunk

.hgtags
jinja/parser.py

diff --git a/.hgtags b/.hgtags
index d49b2111764fc8d098b970f21e16b1689aee1e8e..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
--- a/.hgtags
+++ b/.hgtags
@@ -1 +0,0 @@
-870563da549d20ab1db45d438caef10c8ec1bf5d 1.2
index 40dccb29dba388f8317c91b89adeaed82bb99a97..b42ba749b45fdf2a2f22f3698fc66b3f17999618 100644 (file)
@@ -108,10 +108,10 @@ class Parser(object):
         """
         if self.stream:
             raise TemplateSyntaxError('raw directive does not support '
-                                      'any arguments.', lineno,
+                                      'any arguments.', self.stream.lineno,
                                       self.filename)
         raise TemplateSyntaxError('missing end tag for raw directive.',
-                                  lineno, self.filename)
+                                  self.stream.lineno, self.filename)
 
     def parse_extends_directive(self):
         """