From: sharp@cadence.com
Date: Thu Apr 10 2003 - 17:09:43 PDT
Precedence: bulk
>Number: 325
>Category: errata
>Originator: sharp@cadence.com
>Environment:
>Description:
12.4 has some confused statements about hierarchical names
and automatic tasks and functions. The second paragraph
states
"Only non-recursively referenced automatic tasks and/or
functions create visible branches that can be referenced.
Recursively called tasks and functions, declared using the
automatic keyword and recursively called from within the
same task or function, do not create visible branches that
can be referenced."
It is irrelevant whether a task or function is called
recursively (and this text only describes direct recursion
anyway, not indirect recursion or non-recursive reentrance).
If it is automatic, its variables cannot be accessed via
hierarchical names, period (see 10.2 and 10.3.1).
I don't know what this text was trying to describe, but
it isn't doing it correctly.
The end of the fourth paragraph has the text:
"with the exception of items of automatic tasks and
automatic task item declarations. These declarations can
not be accessed by their hierarchical names."
I don't know what the difference is supposed to be between
"items of automatic tasks" and "automatic task item
declarations". Maybe I am missing some distinction in the
terminology, but it looks redundant to me. Meanwhile it
doesn't mention automatic functions.
This archive was generated by hypermail 2.1.4
: Thu Apr 10 2003 - 17:10:46 PDT
and
sponsored by Boyd Technology, Inc.