Hi,

On 1 August 2017 at 20:45, Michael Thayer <michael.tha...@oracle.com> wrote:
> Hello,
>
> I wonder whether this is something known: when I run the attached file
> from VirtualBox through "indent -linux" (or other settings), the
> parameters of the _ASM_EXTABLE invocation near the end of the file are
> transformed from "1b, 3b" to "1 b, 3 b", which does not make gcc happy.

I’m afraid there’s not much to be done about this, since that is not
part of C syntax, and in fact the macro in question just turns its
parameters into strings and substitutes them into the assembly code.
There doesn’t seem to be a way for indent to know all that. The best
thing you can do is to use "*INDENT-OFF*" and "*INDENT-ON*" to prevent
indent from touching that bit of code.

-- 
Cheers,
  Andrej

_______________________________________________
bug-indent mailing list
bug-indent@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-indent

Reply via email to