This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: RFC: cpplib: multiline strings


Geoff Keating wrote:
> This would break
> 
> asm ("\
> 
> # this little chunk of asm frobs `bar'.
>         frob bar
> # ok, it wasn't a very helpful comment :-).
> ");
> 
> wouldn't it?  There are some platforms where '#'
> is the only reliable assembler comment character.

Neil suggested one alternative:

  " "# ok, ...

I can suggest another:

  \# ok, ...

either is adequate.  Relaxing the single-line constraint
would be "really nice".  :-)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]