Update of /cvsroot/simspark/simspark/spark/utility/sfsexp
In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv12847
Modified Files:
sexp_ops.c
Log Message:
(merged from RSGEDIT_FILEREF branch)
- take care of 'line' member when copying sexp_t structs
Index: sexp_ops.c
===================================================================
RCS file: /cvsroot/simspark/simspark/spark/utility/sfsexp/sexp_ops.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** sexp_ops.c 19 Dec 2005 19:13:30 -0000 1.1
--- sexp_ops.c 17 May 2007 17:40:04 -0000 1.2
***************
*** 146,150 ****
snew->list = copy_sexp(s->list);
}
!
snew->next = copy_sexp(s->next);
--- 146,151 ----
snew->list = copy_sexp(s->list);
}
!
! snew->line = s->line;
snew->next = copy_sexp(s->next);
***************
*** 257,260 ****
--- 258,262 ----
cd->next = NULL;
cd->list = copy_sexp(s->list->next);
+ cd->line = s->line;
return cd;
}
|