f26de63
From 5cbbb4597fee58a1b22b751e9f3e49d53892f863 Mon Sep 17 00:00:00 2001
f26de63
From: Lauri Kasanen <cand@gmx.com>
f26de63
Date: Wed, 17 Jul 2019 09:28:14 +0300
a4f04fe
Subject: [PATCH 015/170] Document binary literals
f26de63
f26de63
---
f26de63
 doc/cc65.sgml | 8 ++++++++
f26de63
 1 file changed, 8 insertions(+)
f26de63
f26de63
diff --git a/doc/cc65.sgml b/doc/cc65.sgml
f26de63
index 86b61ae4..601e364e 100644
f26de63
--- a/doc/cc65.sgml
f26de63
+++ b/doc/cc65.sgml
f26de63
@@ -814,6 +814,14 @@ This cc65 version has some extensions to the ISO C standard.
f26de63
         In the jump table, no expressions are supported. The array index
f26de63
         used in the goto must be a simple variable or a constant.
f26de63
 
f26de63
+<item>  Binary literals, a C++14 feature and a GCC C extension, are accepted.
f26de63
+        They can be disabled with the <tt>
f26de63
+        name="--standard"></tt> option.
f26de63
+
f26de63
+        <tscreen><verb>
f26de63
+        unsigned char foo = 0b101; // sets it to 5
f26de63
+        </verb></tscreen>
f26de63
+
f26de63
 </itemize>
f26de63
 

f26de63
 
f26de63
-- 
a4f04fe
2.26.0
f26de63