From: Shalom.Bresticker@motorola.com
Date: Wed Jan 01 2003 - 06:14:20 PST
Precedence: bulk
>Number: 243
>Category: errata
>Originator: Paul Graham
>Environment:
http://boydtechinc.com/btf/archive/btf_2002/1794.html
http://boydtechinc.com/btf/archive/btf_2002/1795.html
>Description:
From Paul Graham, in
http://boydtechinc.com/btf/archive/btf_2002/1794.html :
The definitions of functions and tasks are unnecessarily divergent.
Section 10.2.1 says:
The first syntax shall begin with the keyword task, followed by the
optional keyword automatic, followed by a name for the task and a
semicolon, and ending with the keyword endtask. The keyword automatic
declares an automatic task that is reentrant with all the task
declarations allocated dynamically for each concurrent task entry.
While section 10.3.1 says:
The keyword automatic declares a recursive function with all the
function declarations allocated dynamically for each recursive call.
I think 10.3.1 should use "reentrant" instead of "recursive", since just
declaring a function "automatic" does not make it a recursive function.
The problem occurs only in 10.3.1, para. 3.
Mac also agreed to this change.
This archive was generated by hypermail 2.1.4
: Wed Jan 01 2003 - 06:20:42 PST
and
sponsored by Boyd Technology, Inc.