Blob Blame Raw
From 5cbbb4597fee58a1b22b751e9f3e49d53892f863 Mon Sep 17 00:00:00 2001
From: Lauri Kasanen <cand@gmx.com>
Date: Wed, 17 Jul 2019 09:28:14 +0300
Subject: [PATCH 15/29] Document binary literals

---
 doc/cc65.sgml | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/doc/cc65.sgml b/doc/cc65.sgml
index 86b61ae4..601e364e 100644
--- a/doc/cc65.sgml
+++ b/doc/cc65.sgml
@@ -814,6 +814,14 @@ This cc65 version has some extensions to the ISO C standard.
         In the jump table, no expressions are supported. The array index
         used in the goto must be a simple variable or a constant.
 
+<item>  Binary literals, a C++14 feature and a GCC C extension, are accepted.
+        They can be disabled with the <tt><ref id="option--standard"
+        name="--standard"></tt> option.
+
+        <tscreen><verb>
+        unsigned char foo = 0b101; // sets it to 5
+        </verb></tscreen>
+
 </itemize>
 <p>
 
-- 
2.21.0