[kaffe] #if 0

Greg Wooledge greg@wooledge.org
Tue Jun 24 15:20:02 2003


--XF85m9dhOBO43t/C
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Rob Gonzalez (rgonzale@wso.williams.edu) wrote:

> In kaffe/kaffevm/exceptions.c, around throwOutOfMemory there is a "#if
> 0" preprocessing block...what exactly does "#if 0" mean?

Everything between "#if 0" and "#endif" (or "#else") will be ignored
by the C compiler.  It's a common way to comment out a huge block
of code, even if that block contains /* comments */ of its own.

--=20
Greg Wooledge                  |   "Truth belongs to everybody."
greg@wooledge.org              |    - The Red Hot Chili Peppers
http://wooledge.org/~greg/     |

--XF85m9dhOBO43t/C
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (OpenBSD)

iD8DBQE++M9KkAkqAYpL9t8RAm4lAKC1Jiks6yb/IZAFX/Qcl/uot8f5YACgkdrT
1ceOpXjvCEkFI2nw8e61+rg=
=DpWj
-----END PGP SIGNATURE-----

--XF85m9dhOBO43t/C--