Revision: 1446
Author: sebastien.lelong
Date: Sun Nov  1 02:06:03 2009
Log: add filename in error and warning output line, so some editor can  
automatically link to source file. Mainly Joep's...
http://code.google.com/p/jallib/source/detail?r=1446

Modified:
  /trunk/tools/jallib.py

=======================================
--- /trunk/tools/jallib.py      Sat Oct 10 02:11:07 2009
+++ /trunk/tools/jallib.py      Sun Nov  1 02:06:03 2009
@@ -426,11 +426,11 @@
      print >> sys.stderr, "File: %s" % filename
      print >> sys.stderr, "%d errors found" % len(errors)
      for err in errors:
-        print >> sys.stderr, "\tERROR: %s" % err
+        print >> sys.stderr, "\tERROR: %s:%s" %  
(os.path.basename(filename),err)
      print >> sys.stderr
      print >> sys.stderr, "%d warnings found" % len(warnings)
      for warn in warnings:
-        print >> sys.stderr, "\twarning: %s" % warn
+        print >> sys.stderr, "\twarning: %s:%s" %  
(os.path.basename(filename),warn)

      if errors or warnings:
          return True

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jallib?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to