fix assignment to a member of union IFvalue

This commit is contained in:
rlar 2010-08-09 18:16:02 +00:00
parent 74f7a4f908
commit 618732c7bd
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2010-08-09 Robert Larice
* src/spicelib/parser/inpgval.c :
fix assignment to a member of union IFvalue
2010-08-07 Robert Larice
* src/frontend/parse-bison.c ,
* src/frontend/parse-bison.h ,

View File

@ -65,7 +65,7 @@ IFvalue *INPgetValue(CKTcircuit *ckt, char **line, int type, INPtables * tab)
} else if (type == IF_INSTANCE) {
INPgetTok(line, &word, 1);
INPinsert(&word, tab);
temp.nValue = word;
temp.uValue = word;
} else if (type == IF_STRING) {
INPgetStr(line, &word, 1);
temp.sValue = word;