From 2e764f482f5633c18701aa2daadffe9f02c9324b Mon Sep 17 00:00:00 2001 From: bculkin2442 Date: Sun, 28 Oct 2018 12:23:08 -0400 Subject: General cleanup --- src/main/java/bjc/dicelang/scl/Errors.java | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/main/java/bjc/dicelang/scl/Errors.java') diff --git a/src/main/java/bjc/dicelang/scl/Errors.java b/src/main/java/bjc/dicelang/scl/Errors.java index ef20086..ceb79e3 100644 --- a/src/main/java/bjc/dicelang/scl/Errors.java +++ b/src/main/java/bjc/dicelang/scl/Errors.java @@ -45,6 +45,9 @@ public class Errors { EK_STRM_INVCOM("\tERROR: Unknown stream control command %s\n", 1), /* SCL Warnings */ + /** + * Word execution failed. + */ WK_SCL_WRDFAIL("\tWARNING: Execution of word %s failed\n", 1), /* SCL Errors */ @@ -69,7 +72,13 @@ public class Errors { */ EK_SCL_INVARG("\tERROR: Invalid argument to SCL command\n", 0); + /** + * The message of the error. + */ public final String msg; + /** + * The number of arguments to the error. + */ public final int argc; private ErrorKey(String message, int argcount) { -- cgit v1.2.3