From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1754 invoked by alias); 25 Nov 2014 17:03:55 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 33795 Received: (qmail 3976 invoked from network); 25 Nov 2014 17:03:53 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, SPF_HELO_PASS autolearn=ham version=3.3.2 X-AuditID: cbfec7f4-b7f126d000001e9a-17-5474b41a5166 Date: Tue, 25 Nov 2014 16:53:46 +0000 From: Peter Stephenson To: zsh-workers@zsh.org Subject: Re: 0b numeric prefix Message-id: <20141125165346.59cf95a6@pwslap01u.europe.root.pri> In-reply-to: <871tordy7n.fsf@gmail.com> References: <20141125160718.01444ac8@pwslap01u.europe.root.pri> <871tordy7n.fsf@gmail.com> Organization: Samsung Cambridge Solution Centre X-Mailer: Claws Mail 3.7.9 (GTK+ 2.22.0; i386-redhat-linux-gnu) MIME-version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFuplluLIzCtJLcpLzFFi42I5/e/4NV2pLSUhBrMbZC0ONj9kcmD0WHXw A1MAYxSXTUpqTmZZapG+XQJXxpOH99gL2tgqNra9ZG5gfMTSxcjJISFgIvH/4H1WCFtM4sK9 9WxdjFwcQgJLGSUe37rCAuEsZ5I48GgdE0gVi4CqxMp/c9hAbDYBQ4mpm2YzgtgiAuISZ9ee B5sqLCAn8e/MNbA4r4C9xOHz/8B6OQXUJQ7dfMkMYgsJxEgsfH8fzOYX0Je4+vcTE8QV9hIz r5yB6hWU+DH5HthMZgEtic3bmlghbHmJzWveMk9gFJiFpGwWkrJZSMoWMDKvYhRNLU0uKE5K zzXUK07MLS7NS9dLzs/dxAgJwi87GBcfszrEKMDBqMTDa5BYEiLEmlhWXJl7iFGCg1lJhDeo FyjEm5JYWZValB9fVJqTWnyIkYmDU6qBsTVcoi5ydtTS1ORpd7/ZcQc92T61h23T6Q7vJN+/ 89PUJQ2/z1EOs499ufVr5opP7GxyVsYvzAIv7lR6kuFmee78pZrHHbq232cp14vfP7zXfL7w q9L9LwwY1y39kvBjuewRPpda4/uxuRLLj1dMba0W+1nq+DqmJ+xpbkjXV6c98vLTRXvFlFiK MxINtZiLihMBtr5n/SACAAA= On Tue, 25 Nov 2014 17:47:08 +0100 Christian Neukirchen wrote: > Peter Stephenson writes: > > > I'm not sure whether to output this form in C_BASES mode. On the one > > hand, it's more likely to be understood on input in utilities other than > > shells than 2#blah; on the other, it won't work with older versions of > > zsh or other shells (not that C_BASES is designed with other shells in > > mind). Because of the latter I'm not intending to do this. It would > > also be a perversion of the name of the option. > > C++14 has binary literals afaict. gcc and clang implement it already. Indeed, going back a few years now, apparently. So might be worth an option for output at some point. pws