Related articles |
---|
[7 earlier articles] |
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) |
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) |
[6 later articles] |
From: | Toon Moene <toon@moene.indiv.nluug.nl> |
Newsgroups: | comp.compilers |
Date: | 18 Jul 2001 19:58:43 -0400 |
Organization: | Moene Computational Physics, Maartensdijk, The Netherlands |
References: | 01-06-073 01-07-020 01-07-029 |
Keywords: | parse, practice, comment |
Posted-Date: | 18 Jul 2001 19:58:43 EDT |
"Lasse Hillerĝe Petersen" wrote:
> However, in natural languages, omitting a comma is rarely a cause for
> misunderstanding, whereas in programming languages it is almost always
> considered a syntactic error.
Indeed - almost:
$ g77 primordial.f
primordial.f: In program `MAIN__':
primordial.f:13: warning:
2 FORMAT (22H1THE LARGEST OF THESE I3, 12H NUMBERS IS F7.2)
^
Missing comma in FORMAT statement at (^)
primordial.f:13: warning:
2 FORMAT (22H1THE LARGEST OF THESE I3, 12H NUMBERS IS F7.2)
^
Missing comma in FORMAT statement at (^)
[ OK - I'm cheating here; the format strings are counted strings ]
--
Toon Moene - mailto:toon@moene.indiv.nluug.nl - phoneto: +31 346 214290
Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
Maintainer, GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
Join GNU Fortran 95: http://g95.sourceforge.net/ (under construction)
[Yeah, and DO10I=1.100 to you, too. -John]
Return to the
comp.compilers page.
Search the
comp.compilers archives again.