Re: Is the dangling else a syntax bug?

vbdis@aol.com (VBDis)
17 Jul 2001 23:22:18 -0400

          From comp.compilers

Related articles
[2 earlier articles]
Re: Is the dangling else a syntax bug? lhp+news@toft-hp.dk (2001-07-03)
Re: Is the dangling else a syntax bug? vbdis@aol.com (2001-07-03)
Re: Is the dangling else a syntax bug? ralph@inputplus.demon.co.uk (2001-07-06)
Re: Is the dangling else a syntax bug? ralph@inputplus.demon.co.uk (2001-07-06)
Re: Is the dangling else a syntax bug? gsc@zip.com.au (Sean Case) (2001-07-06)
Re: Is the dangling else a syntax bug? lars@bearnip.com (2001-07-06)
Re: Is the dangling else a syntax bug? vbdis@aol.com (2001-07-17)
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)
[11 later articles]
| List of all articles for this month |

From: vbdis@aol.com (VBDis)
Newsgroups: comp.compilers
Date: 17 Jul 2001 23:22:18 -0400
Organization: AOL Bertelsmann Online GmbH & Co. KG http://www.germany.aol.com
References: 01-07-054
Keywords: syntax, design
Posted-Date: 17 Jul 2001 23:22:18 EDT

lars@bearnip.com (Lars Duening) schreibt:


>effectively allow the use of the separators as if they are terminators. The
>reason I remember reading was that with this change the language would be
>easier to use.


Unfortunately this change made the Pascal (Delphi) language much
harder to parse, and wasn't very helpful for the users. There remain
nasty places, where additional separators are not allowed, or change
the semantics if appended. These situations IMO are harder to
understand, because people now erroneously think of terminators
instead of separators, and consequently wonder about "inconsequent"
compiler messages.


DoDi


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.