From 23ae2b2e469d06b4107d5554fc4cd3c757f3895a Mon Sep 17 00:00:00 2001 From: TopchetoEU <36534413+TopchetoEU@users.noreply.github.com> Date: Sat, 14 Sep 2024 14:23:35 +0300 Subject: [PATCH] todo --- src/main/java/me/topchetoeu/jscript/common/parsing/ParseRes.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/me/topchetoeu/jscript/common/parsing/ParseRes.java b/src/main/java/me/topchetoeu/jscript/common/parsing/ParseRes.java index 17873e4..3bf2bb8 100644 --- a/src/main/java/me/topchetoeu/jscript/common/parsing/ParseRes.java +++ b/src/main/java/me/topchetoeu/jscript/common/parsing/ParseRes.java @@ -51,6 +51,7 @@ public class ParseRes { return new ParseRes(State.FAILED, null, null, null, 0); } public static ParseRes error(Location loc, String error) { + // TODO: differentiate definitive and probable errors return new ParseRes<>(State.ERROR, loc, error, null, 0); } public static ParseRes res(T val, int i) {