9front - general discussion about 9front
 help / color / mirror / Atom feed
* [9front] Re: cc: support binary constants and refactor
@ 2023-06-27  6:26 qwx
  2023-06-27 12:38 ` Jacob Moody
  0 siblings, 1 reply; 9+ messages in thread
From: qwx @ 2023-06-27  6:26 UTC (permalink / raw)
  To: 9front

Hi all,

> Subject: [PATCH] cc: support binary constants and refactor
> 
> 
> C23 now specifies 0[bB] binary constants.
> In adding these cinap found that the bounds
> checking in mpatov() was incorrect, both in
> implementation and concept. So instead lets
> just accumulate the constant value as we lex.

What's the motivation behind adding this?  Are other features from
newer standards considered for inclusion as well?  Is it just for
ports?  Either way, perhaps we should at least update 2c(1) to list
this and other non ANSI stuff that may have been added in the past few
years (noreturn, #pragma once recently).

Thanks,
qwx

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2023-06-30 23:33 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-27  6:26 [9front] Re: cc: support binary constants and refactor qwx
2023-06-27 12:38 ` Jacob Moody
2023-06-27 21:57   ` qwx
2023-06-28  0:15     ` Jacob Moody
2023-06-28  0:45       ` qwx
2023-06-28  1:28         ` Jacob Moody
2023-06-28  1:48         ` ori
2023-06-28  5:06           ` Noam Preil
2023-06-30 20:25             ` hiro

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).