aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/snippets
diff options
context:
space:
mode:
authorFilipe Brandenburger <filbranden@google.com>2018-04-25 23:24:36 -0700
committerFilipe Brandenburger <filbranden@google.com>2018-05-23 14:07:56 -0700
commit5572bbc6cc4b28839cc2171e55ecd5b1f97cda13 (patch)
tree60607e546bdcefd50e7168a4caac16e17a211640 /docs/markdown/snippets
parent86d2f57e86b39db4322cfe49417ed64a62cfdf83 (diff)
downloadmeson-5572bbc6cc4b28839cc2171e55ecd5b1f97cda13.zip
meson-5572bbc6cc4b28839cc2171e55ecd5b1f97cda13.tar.gz
meson-5572bbc6cc4b28839cc2171e55ecd5b1f97cda13.tar.bz2
Document octal and binary integer literals in syntax.
Also add a release notes snippet for it.
Diffstat (limited to 'docs/markdown/snippets')
-rw-r--r--docs/markdown/snippets/integer-base.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/markdown/snippets/integer-base.md b/docs/markdown/snippets/integer-base.md
new file mode 100644
index 0000000..0a27c9a
--- /dev/null
+++ b/docs/markdown/snippets/integer-base.md
@@ -0,0 +1,9 @@
+## Octal and binary string literals
+
+Octal and binary integer literals can now be used in build and option files.
+
+```meson
+int_493 = 0o755
+int_1365 = 0b10101010101
+```
+