diff ide/compiler/errors.py @ 15:de004f808e56

Fixup in multidocument area stuff
author windel
date Tue, 15 Nov 2011 07:35:00 +0100
parents 1784af239df4
children
line wrap: on
line diff
--- a/ide/compiler/errors.py	Sun Nov 13 23:24:10 2011 +0100
+++ b/ide/compiler/errors.py	Tue Nov 15 07:35:00 2011 +0100
@@ -1,10 +1,11 @@
 """ Error handling routines """
 
 class CompilerException(Exception):
-  def __init__(self, msg, row=0, col=0):
+  def __init__(self, msg, row=0, col=0, filename=None):
     self.msg = msg
     self.row = row
     self.col = col
+    self.filename = filename
   def __repr__(self):
      return self.msg
   def __str__(self):