From owner-freebsd-hackers Tue May 9 23:51:03 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id XAA11248 for hackers-outgoing; Tue, 9 May 1995 23:51:03 -0700 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.34]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id XAA11242 for ; Tue, 9 May 1995 23:50:51 -0700 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id QAA01534; Wed, 10 May 1995 16:44:30 +1000 Date: Wed, 10 May 1995 16:44:30 +1000 From: Bruce Evans Message-Id: <199505100644.QAA01534@godzilla.zeta.org.au> To: bakul@netcom.com, obrien@leonardo.net Subject: Re: This one looks very very suspecious to me.... Cc: hackers@FreeBSD.org Sender: hackers-owner@FreeBSD.org Precedence: bulk >> This is more of a problem with the Rand editor than anything >> else. I've never seen worse abuse of cpp than in the Rand >> editor (not counting Obfuscated C contest entrants). Not >> sure if the -traditional flag may have helped. >Tsk. Legal is as legal does. :-) I don't think it should have any >business trying to pick character constants out of something inside >an excluded #ifdef block. I should be able to put raw random bits It has to look inside the #ifdef block because it isn't excluded. Comments affect #ifdef blocks: #if 0 /* The #endif on the next line doesn't terminate the #if 0. #endif This text is excluded. The #endif on the next line terminates the #if 0. */ #endif Quotes affect comments: #if 0 '/*' This is not a comment since the comment begin sequence was quoted The #endif on the next line terminates the #if 0. #endif This text is not excluded. The #endif on the next line is an error. */ #endif Bruce