[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] Preprocessing issue?
From: |
Patrick Pelissier |
Subject: |
Re: [Tinycc-devel] Preprocessing issue? |
Date: |
Thu, 28 Dec 2023 15:37:58 +0100 |
Hi,
Thanks for the patch.
I am not competent to know if it is correct but at least It fixes my issue.
--
Regards,
Patrick
On Sun, Dec 24, 2023 at 8:43 AM Herman ten Brugge
<hermantenbrugge@home.nl> wrote:
>
> On 12/8/23 20:47, Patrick Pelissier wrote:
> > Hi,
> >
> > I think I have found an issue in TCC preprocessing.
> > The program below produces the following output when runs with tcc -E:
> >
> > , USER
> >
> > , USER_COMP_CORE
> >
> > whereas I would have expected 1 more line:
> >
> > , USER
> >
> > , USER_COMP_CORE
> >
> > , USER_COMP_CORE
> >
> > (Tested with GIT 81a32ec305ee871d8129978bf3d57bc108bec46b)
> >
> > The program is a little bit long so it is available here:
> > https://gist.github.com/P-p-H-d/aeb690c7ed396b57a84f9a5fc83e10c0
> I did some debugging can came up with attached patch.
> The testcase probably has to go into the tests/pp directory.
>
> I am not sure this is the correct fix. So I am not committing it yet.
>
> Herman
>