Path: csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.lang.c Subject: Re: Octal Date: Wed, 28 Dec 2016 10:23:41 -0800 Organization: None to speak of Lines: 28 Message-ID: References: <9f751874-98cf-4208-b809-9e6424600ac6@googlegroups.com> <5de6cdd0-6a36-40da-9bd6-4387d43c7947@googlegroups.com> <9cb7833a-8479-4e61-8398-690783c4d975@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: mx02.eternal-september.org; posting-host="eac9cc7ad54a0b680082b6004da4ef88"; logging-data="8756"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1//ZG0rtoOn40bjSnSRCp/w" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:6ed5LWqNpD9YLrr2fxDMEewfxiA= sha1:/33mw7Oqd70H9TL7KiffpD4GbbI= Xref: csiph.com comp.lang.c:100457 supercat@casperkitty.com writes: [...] > I don't know that any version of the Standard would ever have allowed the > pluses to be parsed as "++ +" but in the days before the Standard there > were lots of differences in how compilers handled corner cases; while it's > often good to clarify corner-case behavior, it's even better to provide ways > of avoiding having to deal with them altogether. Unfortunately, C's pre- > processor is not only extremely limited, but it is also designed in a way > which makes it hard to incorporate user-written tools into the translation > process. It would be helpful, for example, if there were an optional annex > to provide recommendations for how compilers might offer to split the > preprocessing and main compilation steps such that an outside tool could be > run between them. Because such support may not be practical on all systems > the Standard should not require it for all implementations, but on many > systems such support could be easily supported and also useful on the systems > where it was practical. So you want the standard to specify something that isn't required for all implementations. Why not specify it outside the C standard, and let implementations conform to the extra requirements if they want to? -- Keith Thompson (The_Other_Keith) kst-u@mib.org Working, but not speaking, for JetHead Development, Inc. "We must do something. This is something. Therefore, we must do this." -- Antony Jay and Jonathan Lynn, "Yes Minister"