Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!news.musoftware.de!wum.musoftware.de!fu-berlin.de!uni-berlin.de!not-for-mail From: jt@toerring.de (Jens Thoms Toerring) Newsgroups: comp.programming,comp.unix.programmer Subject: Re: indent: convert to C-style comments Date: 10 Nov 2011 21:04:41 GMT Organization: Freie Universitaet Berlin Lines: 34 Message-ID: <9i2sj9ForgU1@mid.uni-berlin.de> References: <9hhhbcF62fU1@mid.individual.net> <9hvh24F8d8U1@mid.uni-berlin.de> <9hvvhbFsq8U1@mid.uni-berlin.de> <4ebc3253$0$79796$8046368a@newsreader.iphouse.net> X-Trace: news.uni-berlin.de BGlfIHFHsd8xQ9kMNhOTwwquhqc2VL9wn71vzTNP/OOFvd X-Orig-Path: not-for-mail User-Agent: tin/1.9.3-20080506 ("Dalintober") (UNIX) (Linux/2.6.30-1-amd64 (x86_64)) Xref: x330-a1.tempe.blueboxinc.net comp.programming:1027 comp.unix.programmer:1604 In comp.unix.programmer Doug McIntyre wrote: > John Gordon writes: > >In <9hvvhbFsq8U1@mid.uni-berlin.de> jt@toerring.de (Jens Thoms Toerring) writes: > >> In comp.unix.programmer John Gordon wrote: > >> > In <9hvh24F8d8U1@mid.uni-berlin.de> jt@toerring.de (Jens Thoms Toerring) writes: > >> > > How could "//" appear in a character constant? > >> > Multibyte characters? Character digraphs and trigraphs? > >> Can you give me an example of a multibyte character constant > >> that could contain two slashes in a row? I've not much expe- > >> rience with multibyte characters and can't come up with one. > >I don't know if there are any actual multibyte characters that contain > >two slashes. I was just providing general examples of contexts where > >such a thing could conceivably happen. > Fairly easy to find (at least for UTF-16, but Unicode has shift > character to escape 16-bit and 32-bit chars). > http://glyphwiki.org/wiki/u2f2f > But, is it likely? Probably not. Well, maybe not likely, but for a "real" program in principle also unlikely situation should be covered;-) Thank you and Geoff for the explanations! Best regards, Jens -- \ Jens Thoms Toerring ___ jt@toerring.de \__________________________ http://toerring.de