TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy


Options: Use Forum View

Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
"Team Ada: Ada Advocacy Issues (83 & 95)" <[log in to unmask]>
Christoph & Ursula Grein <[log in to unmask]>
Mon, 16 Jun 1997 17:49:00 +0100
Christoph & Ursula Grein <[log in to unmask]>
text/plain (35 lines)
> One thing that can be a name is a function_call (another syntax
> category).
> The syntax for a function_call is:
>     function_name
>     | function_prefix actual_parameter_part
> "-O" does not have this form, so it doesn't fall into the syntax
> category of "name."

Well, as I pointed out in another message, this still isn't quite
enough.  What is the rule for function_name?  I couldn't seem to find
it anywhere (even yanked the RM up into an editor and searched for
it.)  Actually, funtion_prefix doesn't seem to have an explicit rule
either, but the fact that this form requires a parameter list
eliminates it for the "-O" case.

Hi Jon

It's really amazing how long this discussion has been taking.

A little advice:

Do not use RM in an ASCII file form, rather use a printed version.
There you will find that function_name and function_prefix really do not exist
at all as syntax categories; only name and prefix exist.
The 'function_' part is typed in italics, which means that the syntax category
given is the one with the italicized part stripped.