Codeing style questions

Derek L Davies ddavies at world.std.com
Fri Dec 18 08:40:19 PST 1998


I have two questions regarding the coding style in the VM.

1) in kaffe-1.0.b3/kaffe/kaffevm/readClassConfig.h I see stuff like
this:

		do {
				/* blah, blah, blah */
		} while(0)

How is this semantically different from just opening a block, i.e.:

		{
				/* blah, blah, blah */
		}

2) in kaffe-1.0.b3/kaffe/kaffe/main.c there's a comment asking "Why do
we split main into two parts?"  Does anyone know the answer to this?

Thanks!
Derek


More information about the kaffe mailing list