diff --git a/jasm-core/src/main/java/me/darknet/assembler/parser/DeclarationParser.java b/jasm-core/src/main/java/me/darknet/assembler/parser/DeclarationParser.java index 8b98f855..4f30fa1b 100644 --- a/jasm-core/src/main/java/me/darknet/assembler/parser/DeclarationParser.java +++ b/jasm-core/src/main/java/me/darknet/assembler/parser/DeclarationParser.java @@ -495,7 +495,7 @@ public void throwError(Error error) { public void throwEofError(String expected) { if (latest == null) { - throwError(new Error("Expected '" + expected + "' but got EOF", new Location(-1, -1, ""))); + throwError(new Error("Expected '" + expected + "' but got EOF", new Location(-1, -1, 0, ""))); return; } throwError(new Error("Expected '" + expected + "' but got EOF", latest.location()));