Handling deep breaks

Peter da Silva peter at sugar.UUCP
Sat May 7 23:54:26 AEST 1988


I think the best way to handle deep breaks is by tagged blocks, myself...

A sample 'C' syntax:

tagged_block :	'block' label statement

tagged_break :	'break' label ';'

Eg:

	block fred {
		...
		block bob
			while(joe) {
				...
				break fred;
				...
				break bob;
				...
			}
	}

-- 
-- Peter da Silva      `-_-'      ...!hoptoad!academ!uhnix1!sugar!peter
-- "Have you hugged your U wolf today?" ...!bellcore!tness1!sugar!peter
-- Disclaimer: These aren't mere opinions, these are *values*.



More information about the Comp.lang.c mailing list