[kaffe] #if 0

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

Rob Gonzalez (rgonzale at 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.

Greg Wooledge                  |   "Truth belongs to everybody."
greg at wooledge.org              |    - The Red Hot Chili Peppers
http://wooledge.org/~greg/     |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://kaffe.org/pipermail/kaffe/attachments/20030624/04e8da19/attachment-0002.pgp 

More information about the kaffe mailing list