Re: viewing code while respecting defines

2018-09-18 Thread Ken Cunningham
Thank you, Perry! I see it’s right there in Xcode — I just never noticed it before. That (at present) is likely about as close as I will get to what I want. Ken > On Sep 18, 2018, at 5:11 AM, Perry E. Metzger wrote: > > On Mon, 10 Sep 2018 12:15:37 -0700 Michael > wrote: >> Is there a way to

Re: viewing code while respecting defines

2018-09-18 Thread Perry E. Metzger
On Mon, 10 Sep 2018 12:15:37 -0700 Michael wrote: > Is there a way to tell CPP to only expand compile-time determinable > #ifdef's, and not macro expansion? The standard IO library, for > example, gets pretty hard to read once expanded. there's a program out there called "unifdef" that might be w

Re: viewing code while respecting defines

2018-09-10 Thread Michael
On 2018-09-10, at 9:15 AM, Jan Stary wrote: > On Sep 10 08:24:39, ken.cunningham.web...@gmail.com wrote: >> I don't know if I asked this correctly, and it's not macports-specific, but >> I don't know where else to ask. >> >> Some of the code I'm trying to tweak (llvm-N, webkit2-gtk-N, etc) ha

Re: viewing code while respecting defines

2018-09-10 Thread Jan Stary
On Sep 10 08:24:39, ken.cunningham.web...@gmail.com wrote: > I don't know if I asked this correctly, and it's not macports-specific, but I > don't know where else to ask. > > Some of the code I'm trying to tweak (llvm-N, webkit2-gtk-N, etc) has a lot > of #defines in it to modify code paths for

viewing code while respecting defines

2018-09-10 Thread Ken Cunningham
I don't know if I asked this correctly, and it's not macports-specific, but I don't know where else to ask. Some of the code I'm trying to tweak (llvm-N, webkit2-gtk-N, etc) has a lot of #defines in it to modify code paths for various OS versions. It can get pretty mind-bending to try to follow