Re: errata/33: Use of keyword "integer" (Section 17)

From: Daryl Stewart (Daryl.Stewart@cl.cam.ac.uk)
Date: Thu Sep 06 2001 - 07:30:00 PDT


The following reply was made to PR errata/33; it has been noted by GNATS.

From: Daryl Stewart <Daryl.Stewart@cl.cam.ac.uk>
To: Daryl.Stewart@cl.cam.ac.uk
Cc: btf-bugs@boyd.com, Daryl.Stewart@cl.cam.ac.uk
Subject: Re: errata/33: Use of keyword "integer" (Section 17)
Date: Thu, 06 Sep 2001 15:22:06 +0100

> Precedence: bulk
>
>
> >Number: 33
> >Category: errata
> >Originator: Daryl Stewart
> >Description:
>
>
> Why does the syntax table in section 17.2.1 on p296 show the keyword
> "integer" in the syntax of file_open_function while the example in
> 17.2.2 on p299 does not use the keyword?
>
> It would be simpler to define the syntax as something like
> (scuse the html)
>
> file_open_function ::=
> <b>$fopen (</b> <i>file_name_</i>string <b> [ ,</b> type <b> ] )</b>
>
> and describe it with
>
> "If a type is included then the system function $fopen returns a
> 32 bit file descriptor, otherwise it returns a 32 bit multi channel
> descriptor."
>
> There are also (apparently bogus) occurrences of the keyword "integer"
> in other sections, including 17.2.4.2, 17.2.4.3, 17.2.4.4, 17.2.5,
> 17.2.7. (there may be more)
>
> If these are attempts to type-annotate the function results, they are
> inconsistent with many other pieces of section 17 which make no use of
> the keyword...
 
 Ooops! That html should read
 
 file_open_function ::=
  <b>$fopen (</b> <i>file_name_</i>string [ <b>,</b> type ] <b>)</b>
 
 instead of making [ and ] bold! ;)
 
 cheers
 Daryl
 



This archive was generated by hypermail 2.1.4 : Mon Jul 08 2002 - 12:54:45 PDT and
sponsored by Boyd Technology, Inc.