Browse Source

Dump more information in debug_info

Yentl Van Tendeloo 8 years ago
parent
commit
98daff8843
2 changed files with 1 additions and 1 deletions
  1. BIN
      bootstrap/bootstrap.m.gz
  2. 1 1
      interface/HUTN/hutn_compiler/hutnparser.py

BIN
bootstrap/bootstrap.m.gz


+ 1 - 1
interface/HUTN/hutn_compiler/hutnparser.py

@@ -111,7 +111,7 @@ class Tree(object):
             ", ".join([str(i) for i in self.get_raw_tail()]))
 
     def get_reference_line(self):
-        return "%s:%s" % (self.inputfile, self.startpos["line"])
+        return "%s:%s:%s-%s" % (self.inputfile, self.startpos["line"], self.startpos["column"], self.endpos["column"])
 
     def fix_tracability(self, inputfile):
         if self.inputfile is None: