mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-26 03:50:52 +00:00
Check referencing instance variables from static context.
This commit is contained in:
@@ -58,7 +58,7 @@ public abstract class ParseException extends Exception {
|
||||
* @param line Line number where the exception occurred
|
||||
*/
|
||||
public ParseException(String text, long line, long position) {
|
||||
super(text + " on line " + line);
|
||||
super(text + (line == -1 ? "" : " on line " + line));
|
||||
this.line = line;
|
||||
this.text = text;
|
||||
this.position = position;
|
||||
|
||||
Reference in New Issue
Block a user