Browse Source

fix assignment to a member of union IFvalue

pre-master-46
rlar 16 years ago
parent
commit
618732c7bd
  1. 4
      ChangeLog
  2. 2
      src/spicelib/parser/inpgval.c

4
ChangeLog

@ -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 2010-08-07 Robert Larice
* src/frontend/parse-bison.c , * src/frontend/parse-bison.c ,
* src/frontend/parse-bison.h , * src/frontend/parse-bison.h ,

2
src/spicelib/parser/inpgval.c

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

Loading…
Cancel
Save