2 desc "Partial Preprocessor for C"
3 homepage "https://www.muppetlabs.com/~breadbox/software/cppp.html"
4 url "https://www.muppetlabs.com/~breadbox/pub/software/cppp-2.9.tar.gz"
5 sha256 "76a95b46c3e36d55c0a98175c0aa72b17b219e68062c2c2c26f971e749951c07"
6 license "GPL-2.0-or-later"
10 regex(/href=.*?cppp[._-]v?(\d+(?:\.\d+)+)\.t/i)
14 sha256 cellar: :any_skip_relocation, arm64_sequoia: "4b14311322cdff7ec30e93ba573bf916eae962c7d2488e7f85a88a4b8bead0a6"
15 sha256 cellar: :any_skip_relocation, arm64_sonoma: "a2fe122f6b616feaab1f4ef815061564ace5069c55fdc8c5fc568a35bb6e2fec"
16 sha256 cellar: :any_skip_relocation, arm64_ventura: "86f812c4083a5ef978178a692f617081b97377aaf2f8fb063cc49abecc65538f"
17 sha256 cellar: :any_skip_relocation, arm64_monterey: "d1926109416735a823a7ab9a534be30f4c5a64f9cc72d36b52e125c70f8d28d3"
18 sha256 cellar: :any_skip_relocation, arm64_big_sur: "32559caedf75a13cad737826acd6d83b2d7e8cc69c5ecc18bdaecb37856d5a26"
19 sha256 cellar: :any_skip_relocation, sonoma: "3061445285d21e97da5f8e8e67207ffc7443f5dd08e4fbeacd7dbe06ba8fbece"
20 sha256 cellar: :any_skip_relocation, ventura: "dcc13b4d0b56a0b9b880254b8c0771b9734f6c41804fe9da6b51d5e5cfaa647f"
21 sha256 cellar: :any_skip_relocation, monterey: "f815f392d7b8ec92a327c2d543bf962a70cae5f1f6991e1e4d695ee25c1fecb8"
22 sha256 cellar: :any_skip_relocation, big_sur: "549a5a56c7173307a1fe50415ac029d31ffa80d4aba09bca2c387dff8b6fd71e"
23 sha256 cellar: :any_skip_relocation, catalina: "539d3f0e5376e354018c7d91eb458194fc2654785af7075bb646584618493f9d"
24 sha256 cellar: :any_skip_relocation, x86_64_linux: "afb41f54440bb5ee1dc17adb0729f4577dbe156e2c63548becd5d0cc5abd2691"
33 (testpath/"hello.c").write <<~C
34 /* Comments stand for code */
38 /* FOO & BAR are defined */
40 /* BAR is not defined */
43 /* FOO is not defined */
45 /* FOO & BAZ are undefined */
49 system bin/"cppp", "-DFOO", "hello.c"