implement method to generate an error prefix that mentions the line and column the error occured in

This commit is contained in:
2020-02-03 22:19:36 +01:00
parent 5ed294965c
commit 33cbae0eeb

View File

@@ -0,0 +1,7 @@
package de.hsrm.compiler.Klang.helper;
public class Helper {
public static String getErrorPrefix(int line, int col) {
return "Error in line " + line + ":" + col + " ";
}
}