Re: [sv-bc] Function call without parenthesis

From: Brad Pierce <Brad.Pierce_at_.....>
Date: Wed Dec 14 2005 - 12:18:45 PST
Neither of these are even legal syntax, because "trial" is a type
identifier.  If you want usages like that, we'd need to start allowing
the :: operator on types, as suggested in

  http://www.eda.org/sv-bc/hm/3310.html

and recorded in

  http://eda.org/svdb/bug_view_page.php?bug_id=948

-- Brad

-----Original Message-----
From: owner-sv-bc@eda.org [mailto:owner-sv-bc@eda.org] On Behalf Of Greg
Jaxon
Sent: Wednesday, December 14, 2005 11:28 AM
To: sv-bc@eda.org
Subject: Re: [sv-bc] Function call without parenthesis

More to the point would be this example:

    typedef enum {
       original=0,
       first=1,
       second,
       third,
       penultimate,
       last,
       out_of_bounds
    } trial;

Is trial.first  equal to 0 or 1?  How about trial.first()?

Greg Jaxon
Received on Wed Dec 14 12:18:53 2005

This archive was generated by hypermail 2.1.8 : Wed Dec 14 2005 - 12:19:26 PST