Fwd: Prohibit use of break/continue in a statement

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---------- Forwarded message ---------
From: Hirrolot <hirrolot@xxxxxxxxx>
Date: Mon, Jan 31, 2022 at 10:59 PM
Subject: Re: Prohibit use of break/continue in a statement
To: David Brown <david.brown@xxxxxxxxxxxx>


Ah, actually, the implementation is rather involved. I tried to
explain it in my blog post [1]. The section "Pattern matching" should
give you a clear sense of what is happening.

Yes, `#define` directives for `break` and `continue` should work, but
defining and undefining them every time would be a true hassle.

[1] https://hirrolot.github.io/posts/compiling-algebraic-data-types-in-pure-c99.html



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux