|
From: | Herman ten Brugge |
Subject: | Re: [Tinycc-devel] Preprocessing issue? |
Date: | Sun, 24 Dec 2023 08:43:31 +0100 |
User-agent: | Mozilla Thunderbird |
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
patch
Description: Text document
[Prev in Thread] | Current Thread | [Next in Thread] |