fix undo regression on embedded examples due to prev commit
This commit is contained in:
parent
627d122937
commit
231660989a
|
|
@ -848,10 +848,10 @@ void read_xschem_file(FILE *fd)
|
||||||
read_line(fd, 0); /* skip garbage after '[' */
|
read_line(fd, 0); /* skip garbage after '[' */
|
||||||
if(!found) {
|
if(!found) {
|
||||||
load_sym_def(xctx->inst[xctx->instances-1].name, fd);
|
load_sym_def(xctx->inst[xctx->instances-1].name, fd);
|
||||||
found = 1;
|
found = 2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(!found) {
|
if(found != 2) {
|
||||||
char *str;
|
char *str;
|
||||||
int n;
|
int n;
|
||||||
while(1) { /* skip embedded [ ... ] */
|
while(1) { /* skip embedded [ ... ] */
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue