summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorgumi <git@gumi.ca>2020-03-31 23:26:39 -0400
committergumi <git@gumi.ca>2020-05-07 16:09:29 -0400
commit6b8746543cf8f6e83a5850a2b6496920da9ef92a (patch)
treea8d211ff596417e91821b6206316fa08700e5695 /db
parent57fc65aa5a1e1abf81370dd8e6f879d3562446b9 (diff)
downloadhercules-6b8746543cf8f6e83a5850a2b6496920da9ef92a.tar.gz
hercules-6b8746543cf8f6e83a5850a2b6496920da9ef92a.tar.bz2
hercules-6b8746543cf8f6e83a5850a2b6496920da9ef92a.tar.xz
hercules-6b8746543cf8f6e83a5850a2b6496920da9ef92a.zip
update the constants documentation for binary and octal literals
Diffstat (limited to 'db')
-rw-r--r--db/constants.conf9
1 files changed, 7 insertions, 2 deletions
diff --git a/db/constants.conf b/db/constants.conf
index 6f87b2d51..b2bc94516 100644
--- a/db/constants.conf
+++ b/db/constants.conf
@@ -29,12 +29,17 @@
constants_db: {
/************* Entry structure (short) ************************************
- Identifier: value // (int)
+ Identifier: value // (integer literal)
************* Entry structure (full) *************************************
Identifier: {
- Value: value // (int)
+ Value: value // (integer literal)
Deprecated: true // (boolean) Defaults to false.
}
+ ************* Supported integer literals *********************************
+ decimal: 1337 // no prefix
+ hexadecimal: 0x1337 // prefix: 0x
+ octal: 0o1337 // prefix: 0o
+ binary: 0b101101 // prefix: 0b
**************************************************************************/
comment__: "Weekdays"