Re: Passing c blocks to pre processor

2022-05-28 Thread Jonathan Wakely via Gcc
On Sat, 28 May 2022, 06:49 Yair Lenga via Gcc, wrote: > Hi, > > I am trying to define macros that will accept code blocks. This will be > used to create high level structures (like iterations, etc.). Ideally, I > would like to do something like (this is simplified example, actual code > much more

Passing c blocks to pre processor

2022-05-27 Thread Yair Lenga via Gcc
Hi, I am trying to define macros that will accept code blocks. This will be used to create high level structures (like iterations, etc.). Ideally, I would like to do something like (this is simplified example, actual code much more application specific): Foreach(var, low, high, block) While s