diff python/ppci/errors.py @ 296:9417caea2eb3

Directorized some backend files
author Windel Bouwman
date Sun, 01 Dec 2013 13:36:58 +0100
parents 917eab04b8b7
children 0615b5308710
line wrap: on
line diff
--- a/python/ppci/errors.py	Thu Nov 28 21:10:32 2013 +0100
+++ b/python/ppci/errors.py	Sun Dec 01 13:36:58 2013 +0100
@@ -6,6 +6,7 @@
 import logging
 from . import SourceLocation
 
+
 class CompilerError(Exception):
     def __init__(self, msg, loc=None):
         self.msg = msg
@@ -33,7 +34,7 @@
         self.sources[name] = src
 
     def addDiag(self, d):
-        self.logger.warning(str(d.msg))
+        #self.logger.warning(str(d.msg))
         self.diags.append(d)
 
     def error(self, msg, loc):