From 5cbbb4597fee58a1b22b751e9f3e49d53892f863 Mon Sep 17 00:00:00 2001 From: Lauri Kasanen Date: Wed, 17 Jul 2019 09:28:14 +0300 Subject: [PATCH] Document binary literals --- doc/cc65.sgml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/doc/cc65.sgml b/doc/cc65.sgml index 86b61ae4f..601e364ea 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. + Binary literals, a C++14 feature and a GCC C extension, are accepted. + They can be disabled with the option. + + + unsigned char foo = 0b101; // sets it to 5 + +