2
0
Эх сурвалжийг харах

Improvement to ToString for line pseudo-instruction.

k_john_gough_cp 15 жил өмнө
parent
commit
200beea78b

+ 3 - 1
PERWAPI/Instructions.cs

@@ -2104,7 +2104,9 @@ namespace QUT.PERWAPI {
       }
     }
 
-    public virtual string ToString() { return "line " + this.startLine.ToString(); }
+    public virtual string ToString() { 
+      return String.Format("line {0}:{1}-{2}:{3}", this.startLine, this.startCol, this.endLine, this.endCol); 
+    }
   }
 
   /**************************************************************************/