Path: csiph.com!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail From: Anton Shepelev Newsgroups: comp.lang.c Subject: Re: A defer mechanism for C Date: Sat, 19 Dec 2020 15:02:39 +0300 Organization: A noiseless patient Spider Lines: 17 Message-ID: <20201219150239.ea365c19e46b1b7df894ece4@gmail.com> References: <3a965b75-7eb6-4287-8e19-8969b6628d90n@googlegroups.com> <87mtyd3fr8.fsf@bsb.me.uk> <20201217015210.bb1e73129bd89307422c8adf@gmail.com> <89888024-715a-4493-b3e1-dd6026932e6fn@googlegroups.com> <20201218010041.0e8b5f1f24e4eb5eb1ee5bb2@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Injection-Info: reader02.eternal-september.org; posting-host="24b16d9c6d08d8d8320092778c93797e"; logging-data="29271"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/WSfLJ9JPC80/dOovbl6hU8/GXf7GmX8Q=" Cancel-Lock: sha1:SEKDVWVkgd73+ZzPDZTBsMxp83w= X-Newsreader: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32) Xref: csiph.com comp.lang.c:157445 Bart to Thiago Adams: > That's a lot of indentation. I agree. > In the following version, it just reads everything > including BOM, then checks for BOM, and if found it moves > the rest of the text down: Yes, that is easy to do, but I don't like the idea of rewriting everything you have read merely to account for BOM. It is not a beautiful solution, nor production-level. -- () ascii ribbon campaign -- against html e-mail /\ http://preview.tinyurl.com/qcy6mjc [archived]