[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] pp bug
From: |
Pip Cet |
Subject: |
Re: [Tinycc-devel] pp bug |
Date: |
Fri, 1 May 2015 14:15:31 +0000 |
Hmm, this is trickier than I thought at first. The attached patch
passes tests and works for the case I described in my last mail, but
fails for
#define A(a,b...) g(a,##b,##b)
A(a,)
which should produce g(a). Probably. I mean, it's pretty weird to use
variadic macros like that, though someone might have a
#define double_printf(fmt, args...) printf(fmt##fmt,##args,##args)
macro. But I just checked and mob tcc does support the double-varargs example.
On Fri, May 1, 2015 at 4:39 AM, Sergey Korshunoff <address@hidden> wrote:
> Hi! tcc-macro-002.diff don't break anything for me.
>
> _______________________________________________
> Tinycc-devel mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/tinycc-devel
tcc-macro-003.diff
Description: Text document
- Re: [Tinycc-devel] pp bug, Sergey Korshunoff, 2015/05/01
- Re: [Tinycc-devel] pp bug,
Pip Cet <=
- Re: [Tinycc-devel] pp bug, grischka, 2015/05/01
- Re: [Tinycc-devel] pp bug, Pip Cet, 2015/05/01
- Re: [Tinycc-devel] pp bug, Pip Cet, 2015/05/02
- Re: [Tinycc-devel] pp bug, Sergey Korshunoff, 2015/05/02
- Re: [Tinycc-devel] pp bug, Pip Cet, 2015/05/02
- Re: [Tinycc-devel] pp bug, Sergey Korshunoff, 2015/05/02
- Re: [Tinycc-devel] pp bug, Pip Cet, 2015/05/02
- Re: [Tinycc-devel] pp bug, Sergey Korshunoff, 2015/05/02
- Re: [Tinycc-devel] pp bug, Pip Cet, 2015/05/02
- Re: [Tinycc-devel] pp bug, Sergey Korshunoff, 2015/05/02