Related articles |
---|
[9 earlier articles] |
Re: Is the dangling else a syntax bug? dynagen@eircom.net (Barry Kelly) (2001-07-17) |
Re: Is the dangling else a syntax bug? david.thompson1@worldnet.att.net (David Thompson) (2001-07-17) |
Re: Is the dangling else a syntax bug? genew@shuswap.net (2001-07-17) |
Re: Is the dangling else a syntax bug? genew@shuswap.net (2001-07-17) |
Re: Is the dangling else a syntax bug? toon@moene.indiv.nluug.nl (Toon Moene) (2001-07-18) |
Re: Is the dangling else a syntax bug? esmond.pitt@bigpond.com (Esmond Pitt) (2001-07-18) |
Re: Is the dangling else a syntax bug? jcrens@earthlink.net (Jack Crenshaw) (2001-07-23) |
Re: Is the dangling else a syntax bug? marcov@toad.stack.nl (2001-07-23) |
Re: Is the dangling else a syntax bug? joachim_d@gmx.de (Joachim Durchholz) (2001-07-23) |
Re: Is the dangling else a syntax bug? vbdis@aol.com (2001-07-27) |
Re: Is the dangling else a syntax bug? wb@vestein.arb-phys.uni-dortmund.de (2001-07-30) |
Re: Is the dangling else a syntax bug? mike@dimmick.demon.co.uk (Mike Dimmick) (2001-07-30) |
Re: Is the dangling else a syntax bug? wclodius@aol.com (2001-07-30) |
[4 later articles] |
From: | "Jack Crenshaw" <jcrens@earthlink.net> |
Newsgroups: | comp.compilers |
Date: | 23 Jul 2001 02:19:53 -0400 |
Organization: | EarthLink Inc. -- http://www.EarthLink.net |
References: | 01-06-073 |
Keywords: | syntax, design |
Posted-Date: | 23 Jul 2001 02:19:53 EDT |
Of course it is. In both C and Pascal.
As you point out, the whole problem goes away if the if is terminated
by and endif, as in Fortran.
Personally, I much prefer endfor, enddo, endcase, etc., as well. The
keyword 'end' is overloaded ... um ... no end.
Jack
Return to the
comp.compilers page.
Search the
comp.compilers archives again.