Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.programming > #1027

Re: indent: convert to C-style comments

From jt@toerring.de (Jens Thoms Toerring)
Newsgroups comp.programming, comp.unix.programmer
Subject Re: indent: convert to C-style comments
Date 2011-11-10 21:04 +0000
Organization Freie Universitaet Berlin
Message-ID <9i2sj9ForgU1@mid.uni-berlin.de> (permalink)
References (4 earlier) <9hvh24F8d8U1@mid.uni-berlin.de> <j9ec01$8j$1@reader1.panix.com> <9hvvhbFsq8U1@mid.uni-berlin.de> <j9hb0n$43i$1@reader1.panix.com> <4ebc3253$0$79796$8046368a@newsreader.iphouse.net>

Cross-posted to 2 groups.

Show all headers | View raw


In comp.unix.programmer Doug McIntyre <merlyn@geeks.org> wrote:
> John Gordon <gordon@panix.com> writes:
> >In <9hvvhbFsq8U1@mid.uni-berlin.de> jt@toerring.de (Jens Thoms Toerring) writes:

> >> In comp.unix.programmer John Gordon <gordon@panix.com> 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

Back to comp.programming | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

indent: convert to C-style comments "Mark" <mark_cruzNOTFORSPAM@hotmail.com> - 2011-11-03 16:20 -0400
  Re: indent: convert to C-style comments Ian Collins <ian-news@hotmail.com> - 2011-11-04 20:08 +1300
    Re: indent: convert to C-style comments scott@slp53.sl.home (Scott Lurndal) - 2011-11-04 16:46 +0000
    Re: indent: convert to C-style comments "Mark" <mark_cruzNOTFORSPAM@hotmail.com> - 2011-11-05 16:00 -0500
      Re: indent: convert to C-style comments Ian Collins <ian-news@hotmail.com> - 2011-11-06 09:05 +1300
        Re: indent: convert to C-style comments "Mark" <mark_cruzNOTFORSPAM@hotmail.com> - 2011-11-05 16:12 -0500
      Re: indent: convert to C-style comments Thad Smith <ThadSmith@acm.org> - 2011-11-06 18:54 -0600
        Re: indent: convert to C-style comments jt@toerring.de (Jens Thoms Toerring) - 2011-11-09 14:29 +0000
          Re: indent: convert to C-style comments John Gordon <gordon@panix.com> - 2011-11-09 17:07 +0000
            Re: indent: convert to C-style comments jt@toerring.de (Jens Thoms Toerring) - 2011-11-09 18:36 +0000
              Re: indent: convert to C-style comments John Gordon <gordon@panix.com> - 2011-11-10 20:08 +0000
                Re: indent: convert to C-style comments Doug McIntyre <merlyn@geeks.org> - 2011-11-10 20:21 +0000
                Re: indent: convert to C-style comments jt@toerring.de (Jens Thoms Toerring) - 2011-11-10 21:04 +0000
          Re: indent: convert to C-style comments Thad Smith <ThadSmith@acm.org> - 2011-11-10 20:47 -0700

csiph-web