On 3/28/09, Blue Swirl wrote: > On 3/28/09, Anthony Liguori wrote: > > DEFOPTION() is turning the \n into a 'n' so everything ends up on the same > > line. > > > > gcc version 4.3.2 20081105 (Red Hat 4.3.2-7) (GCC) > > > > Passing arbitrary text into a macro looks very fishy to me. CPP still uses > > a C tokenizer IIRC so you need at least lexically correct C. > > > No, it's a problem with the shell script parser hxtool. The text is > already broken in the parsed file (for example sparc-softmmu/) > qemu-options.h: > > DEF("M", HAS_ARG, QEMU_OPTION_M, > "-M machine select emulated machine (-M ? for list)n") > > I'm pretty certain that both Perl and C hxtool parsers did work. This patch fixes the problem, but only for sh == bash case.