Update of /cvsroot/pure-data/pd/extra/expr~
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20687
Modified Files:
Tag: impd_0_37
vexp_if.c
Log Message:
removing gcc 3.3 warnings
Index: vexp_if.c
===================================================================
RCS file: /cvsroot/pure-data/pd/extra/expr~/vexp_if.c,v
retrieving revision 1.2.12.1
retrieving revision 1.2.12.1.2.1
diff -C2 -d -r1.2.12.1 -r1.2.12.1.2.1
*** vexp_if.c 8 Jul 2003 09:48:57 -0000 1.2.12.1
--- vexp_if.c 16 Mar 2004 07:12:09 -0000 1.2.12.1.2.1
***************
*** 45,49 ****
static char *exp_version = "0.4";
! extern struct ex_ex *ex_eval(struct expr *exp, struct ex_ex *eptr,
struct ex_ex *optr, int n);
--- 45,49 ----
static char *exp_version = "0.4";
! extern struct ex_ex *ex_eval(struct expr *expr, struct ex_ex *eptr,
struct ex_ex *optr, int n);
***************
*** 889,893 ****
*/
int
! max_ex_tab(struct expr *exp,fts_symbol_t s,struct ex_ex *arg,struct ex_ex *optr)
{
#ifdef PD
--- 889,893 ----
*/
int
! max_ex_tab(struct expr *expr,fts_symbol_t s,struct ex_ex *arg,struct ex_ex *optr)
{
#ifdef PD
***************
*** 901,905 ****
optr->ex_type = ET_FLT;
optr->ex_flt = 0;
! pd_error(exp, "no such table '%s'", s->s_name);
return (1);
}
--- 901,905 ----
optr->ex_type = ET_FLT;
optr->ex_flt = 0;
! pd_error(expr, "no such table '%s'", s->s_name);
return (1);
}
***************
*** 916,920 ****
default: /* do something with strings */
! pd_error(exp, "expr: bad argument for table '%s'\n", fts_symbol_name(s));
indx = 0;
}
--- 916,920 ----
default: /* do something with strings */
! pd_error(expr, "expr: bad argument for table '%s'\n", fts_symbol_name(s));
indx = 0;
}
***************
*** 934,938 ****
int
! max_ex_var(struct expr *exp, fts_symbol_t var, struct ex_ex *optr)
{
optr->ex_type = ET_FLT;
--- 934,938 ----
int
! max_ex_var(struct expr *expr, fts_symbol_t var, struct ex_ex *optr)
{
optr->ex_type = ET_FLT;
***************
*** 940,944 ****
optr->ex_type = ET_FLT;
optr->ex_flt = 0;
! pd_error(exp, "no such var '%s'", var->s_name);
return (1);
}
--- 940,944 ----
optr->ex_type = ET_FLT;
optr->ex_flt = 0;
! pd_error(expr, "no such var '%s'", var->s_name);
return (1);
}