From c42efc1274590112ca79eaa5174419270e45c6e8 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Wed, 2 Aug 2017 06:53:27 -0700 Subject: doc: cross reference different #b. * txr.1: Note under #b binary number syntax that #b is also used for buffer literals, and vice versa. --- txr.1 | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/txr.1 b/txr.1 index b9a12800..1641f2a8 100644 --- a/txr.1 +++ b/txr.1 @@ -3061,6 +3061,10 @@ prefix: #b1110 ;; 14 .cble +Note that the +.code #b +prefix is also used for buffer literals. + A floating-point constant is marked by the inclusion of a decimal point, the exponential "e notation", or both. It is an optional sign, followed by a mantissa consisting of digits, a decimal point, more digits, and then an @@ -11408,6 +11412,15 @@ function, and other means such as the .code ffi-get function. +Note that the +.code #b +prefix is also used for binary numbers. In that syntax, it +is followed by an optional sign, and then a mixture of one +or more of the digits +.code 0 +or +.codn 1 . + .coNP The @ .. notation In \*(TL, there is a special "dotdot" notation consisting of a pair of dots. This can be written between successive atoms or compound expressions, and is a -- cgit v1.2.3