aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2021-02-07 02:46:02 +0100
committerRenaud G <renaud@rolisteam.org>2021-02-07 02:46:02 +0100
commit8e89bb6ace2ce60ee8e5b09933d1ea34461fb437 (patch)
treee946382e1da36137f155036e553c172ac326ff1b /include
parentc0c1ddf0a2ad72923d61032de201550bb20721b0 (diff)
downloadOneRoll-8e89bb6ace2ce60ee8e5b09933d1ea34461fb437.tar.gz
OneRoll-8e89bb6ace2ce60ee8e5b09933d1ea34461fb437.zip
Add new error code
Diffstat (limited to 'include')
-rw-r--r--include/diceparserhelper.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/diceparserhelper.h b/include/diceparserhelper.h
index c55b415..4a481c1 100644
--- a/include/diceparserhelper.h
+++ b/include/diceparserhelper.h
@@ -26,7 +26,8 @@ enum class ERROR_CODE : int
INVALID_INDEX,
UNEXPECTED_CHARACTER,
NO_PREVIOUS_ERROR,
- NO_VALID_RESULT
+ NO_VALID_RESULT,
+ SCALAR_RESULT_EXPECTED
};
/**