From 29578dd26d44e5441f50ce7e0ad25599a7538ba1 Mon Sep 17 00:00:00 2001 From: mtrop Date: Sun, 18 Apr 2021 14:40:37 -0400 Subject: [PATCH] Fixed docs --- README.md | 2 +- .../java/com/blackrook/rookscript/compiler/ScriptParser.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a17570ab..26cf2405 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Black Rook RookScript -Copyright (c) 2017-2020 Black Rook Software. +Copyright (c) 2017-2021 Black Rook Software. [https://github.com/BlackRookSoftware/RookScript](https://github.com/BlackRookSoftware/RookScript) [Latest Release](https://github.com/BlackRookSoftware/RookScript/releases/latest) diff --git a/src/main/java/com/blackrook/rookscript/compiler/ScriptParser.java b/src/main/java/com/blackrook/rookscript/compiler/ScriptParser.java index f20b978e..eec5f72f 100644 --- a/src/main/java/com/blackrook/rookscript/compiler/ScriptParser.java +++ b/src/main/java/com/blackrook/rookscript/compiler/ScriptParser.java @@ -141,7 +141,7 @@ public ErrorMessage[] getErrors() * nextToken(); * parseScript(script); * ErrorMessage[] errors = getErrorMessages(); - * if (errors.length > 0) + * if (errors.length > 0) * throw new ScriptParseException(errors); * * @param script the script to start adding compiled code to.