Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!ames!pacbell!att-ih!chinet!les From: les@chinet.UUCP (Leslie Mikesell) Newsgroups: comp.lang.misc Subject: Re: Block Closure Message-ID: <4915@chinet.UUCP> Date: 22 Apr 88 02:33:52 GMT References: <2853@enea.se> <2400014@otter.hple.hp.com> <918@rlgvax.UUCP> <5100@aw.sei.cmu.edu> Reply-To: les@chinet.UUCP (Leslie Mikesell) Distribution: na Organization: Chinet - Public Access Unix Lines: 13 In article <5100@aw.sei.cmu.edu> firth@bd.sei.cmu.edu.UUCP (Robert Firth) writes: >A feasible design might be a combination of CPL tags and Modula syntax, >for instance: > How about taking the normal c {} and appending a label, perhaps attached with a character that would otherwise be illegal, then requiring the matching label at the closure. A pre-processor could easily strip the labels off for the pure at heart. This would be ugly, but it would make it possible for the dumbest of editors to find matching block delimiters and it would help do away with most c compilers' notion that "there aren't any wrong c programs" (just because it wasn't what you intended it to be...). Les Mikesell