summaryrefslogtreecommitdiffstats
path: root/validate.py
diff options
context:
space:
mode:
Diffstat (limited to 'validate.py')
-rw-r--r--validate.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/validate.py b/validate.py
index 3f32745..ebe5977 100644
--- a/validate.py
+++ b/validate.py
@@ -7,9 +7,10 @@ class CExtensionError(Exception):
self.location = location
def __str__(self):
- return '%s:%s: %s' % (self.location.file,
- self.location.line,
- self._get_desc())
+ return '%s:%s:%s:%s' % (self.location.file,
+ self.location.line,
+ self.location.current_element,
+ self._get_desc())
def _get_desc(self):
raise NotImplementedError