Re: Why does the lexer convert text integer lexemes to binary integers? I thought that lexers should be simple?

George Neuner <gneuner2@comcast.net>
Sun, 17 Jul 2022 18:01:39 -0400

          From comp.compilers

Related articles
| List of all articles for this month |
From: George Neuner <gneuner2@comcast.net>
Newsgroups: comp.compilers
Date: Sun, 17 Jul 2022 18:01:39 -0400
Organization: A noiseless patient Spider
References: 22-07-011 22-07-015 22-07-020 <s9s8dh564dops628ev3t5fi4rs2uh6mt2d@4ax.com>
Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="5330"; mail-complaints-to="abuse@iecc.com"
Keywords: design, errors, comment
Posted-Date: 17 Jul 2022 21:07:20 EDT

On Sun, 17 Jul 2022 16:52:20 -0400, George Neuner
<gneuner2@comcast.net> wrote:


>0x101010 is 8 characters, 1 byte.


Duh! Of course that should be b101010, 7 characters and not
representable in C. Oh well.


George
[It's a perfectly good integer but I think we're done beating the dead horse. -John]


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.