typo in special-name ?

Alain Miniussi alainm at cup.hp.com
Mon Mar 27 17:48:00 UTC 2000


Jim Dehnert wrote:
> 
> > Date: Fri, 24 Mar 2000 15:22:11 -0800
> > From: Alain Miniussi <alainm at cup.hp.com>
> >
> > It seems that the <type> referenced in tye productions for
> > <special-name> is not actualy in the rules.
> 
> I don't know what you mean.  <type> appears many places:

I mean that, for <special-name>, I read:
<special-name> ::= TV # virtual table
                      # <type> is vtable's class type
And did not understood that <type> refered actualy to <nesting-prefix> 
in the <compound> production, and expected to see it (or <class-enum> )
in the rhs of <special-name> := ....

Sorry,

Alain


> (Remember to ignore text in italics in non-terminal names.
> I've removed some of it in the following.)
> 
>     <encoding-type> ::= <type>
>                  ::= Tv <number> _ <name> <function-type><type>
>   <type> ::= <builtin-type>
>          ::= <function-type>
>          ::= <class-enum-type>
>          ::= <array-type>
>          ::= <pointer-to-member-type>
>   <type> ::= <CV-qualifier>
>          ::= P <type>        # pointer-to
>          ::= R <type>        # reference-to
>          ::= C <type>        # complex pair (C 2000)
>          ::= G <type>        # imaginary (C 2000)
>          ::= U <source-name> <type>       # vendor extended type qualifier
>   <CV-qualifier> ::= K <type>     # const
>                  ::= V <type>        # volatile
>                  ::= r <type>        # restrict (C 2000)
>   <bare-function-type> ::= [Y] <type>*
>   <array-type> ::= A [<number>] _ <type>
>   <pointer-to-member-type> ::= M <class type> <member type>
>   <template-arg> ::= <type>                       # type
>   <template-arg> ::= L <type> <number> E  # literal
>                  ::= L <type> <number> E     # literal
> 
> -           Jim Dehnert         dehnert at sgi.com
>                                 (650)933-4272




More information about the cxx-abi-dev mailing list