RE: [sv-bc] 8.13.2 Structure assignment patterns - example

From: Brad Pierce <Brad.Pierce_at_.....>
Date: Mon Dec 05 2005 - 08:45:50 PST
Maybe it should be s2 instead of s1?

-- Brad

-----Original Message-----
From: owner-sv-bc@eda.org [mailto:owner-sv-bc@eda.org] On Behalf Of Bresticker, Shalom
Sent: Monday, December 05, 2005 7:44 AM
To: sv-bc@eda.org
Subject: [sv-bc] 8.13.2 Structure assignment patterns - example

The following example in 8.13.2,

initial #10 s1 = '{default:'1, s : ""}; // set all to 1 except s to ""

should be preceded, I think, by a declaration,

sa s1;

Otherwise, s1 is undeclared, or worse, it reverts to the previous declaration of s1:

typedef struct {
int x;
int y;
} st;
st s1;


Shalom


Shalom Bresticker
Intel Jerusalem LAD DA
+972 2 589-6852
+972 54 721-1033
I don't represent Intel 
Received on Mon Dec 5 08:45:55 2005

This archive was generated by hypermail 2.1.8 : Mon Dec 05 2005 - 08:46:19 PST