type fixes

This commit is contained in:
rlar 2011-12-17 13:41:04 +00:00
parent bcc23c1f78
commit 0e1f5a29f7
5 changed files with 14 additions and 7 deletions

View File

@ -1,16 +1,23 @@
2011-12-17 Robert Larice
* src/frontend/breakp2.c ,
* src/frontend/outitf.c ,
* src/include/ngspice/ftedefs.h ,
* src/spicelib/analysis/cktsens.c :
type fixes
2011-12-17 Holger Vogt
* src/frontend/inp.c,
src/frontend/options.c
src/include/ngspice/fteext.h :
variable ft_stricterror to exit ngspice with exit code 1
if any error occurs during circuit parsing.
if any error occurs during circuit parsing.
Usage maybe extended to other errors.
Tradditionally ngspice uses to continue, issue error messages,
deliver wrong results and exit with exit code 0.
2011-12-16 Holger Vogt
* src/frontend/subckt.c: beautify code
2011-12-15 Robert Larice
* configure.ac ,
* src/frontend/inpcom.c ,

View File

@ -117,7 +117,7 @@ ft_getSaves(struct save_info **savesp)
if (d->db_type == DB_SAVE) {
array[i].used = 0;
if (d->db_analysis)
array[i].analysis = (IFuid *) copy(d->db_analysis);
array[i].analysis = copy(d->db_analysis);
else
array[i].analysis = NULL;
array[i++].name = copy(d->db_nodename1);

View File

@ -177,7 +177,7 @@ beginPlot(JOB *analysisPtr, CKTcircuit *circuitPtr, char *cktName, char *analNam
savesused = TMALLOC(bool, numsaves);
saveall = FALSE;
for (i = 0; i < numsaves; i++) {
if (saves[i].analysis && !cieq((char *)saves[i].analysis, an_name)) {
if (saves[i].analysis && !cieq(saves[i].analysis, an_name)) {
/* ignore this one this time around */
savesused[i] = TRUE;
continue;

View File

@ -19,7 +19,7 @@ Author: 1985 Wayne A. Christopher, U. C. Berkeley CAD Group
struct save_info {
char *name;
IFuid *analysis;
IFuid analysis;
int used;
};

View File

@ -81,7 +81,7 @@ int sens_sens(CKTcircuit *ckt, int restart)
static int is_dc;
int k, j, n;
int num_vars, branch_eq=0;
char *sen_data=NULL;
void *sen_data = NULL;
char namebuf[513];
IFuid *output_names, freq_name;
int bypass;