*** empty log message ***
This commit is contained in:
parent
ced6010a72
commit
d2feccde0f
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: awk.h,v 1.175 2006-12-30 08:54:43 bacon Exp $
|
* $Id: awk.h,v 1.176 2007-01-01 15:07:25 bacon Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _ASE_AWK_AWK_H_
|
#ifndef _ASE_AWK_AWK_H_
|
||||||
@ -303,7 +303,7 @@ enum
|
|||||||
|
|
||||||
/* run time error */
|
/* run time error */
|
||||||
ASE_AWK_EINTERN, /* internal error */
|
ASE_AWK_EINTERN, /* internal error */
|
||||||
ASE_AWK_EDIVBYZERO, /* divide by zero */
|
ASE_AWK_EDIVBY0, /* divide by zero */
|
||||||
ASE_AWK_EOPERAND, /* invalid operand */
|
ASE_AWK_EOPERAND, /* invalid operand */
|
||||||
ASE_AWK_EPOSIDX, /* wrong position index */
|
ASE_AWK_EPOSIDX, /* wrong position index */
|
||||||
ASE_AWK_EARGTF, /* too few arguments */
|
ASE_AWK_EARGTF, /* too few arguments */
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: run.c,v 1.314 2007-01-01 15:06:52 bacon Exp $
|
* $Id: run.c,v 1.315 2007-01-01 15:10:37 bacon Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <ase/awk/awk_i.h>
|
#include <ase/awk/awk_i.h>
|
||||||
@ -2945,7 +2945,7 @@ static ase_awk_val_t* __eval_expression (ase_awk_run_t* run, ase_awk_nde_t* nde)
|
|||||||
{
|
{
|
||||||
ase_awk_refdownval (run, v);
|
ase_awk_refdownval (run, v);
|
||||||
|
|
||||||
ase_Awk_setrunerror (run, errnum, nde->line, ASE_NULL);
|
ase_awk_setrunerror (run, errnum, nde->line, ASE_NULL);
|
||||||
return ASE_NULL;
|
return ASE_NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -2955,7 +2955,7 @@ static ase_awk_val_t* __eval_expression (ase_awk_run_t* run, ase_awk_nde_t* nde)
|
|||||||
v = ase_awk_makeintval (run, (n != 0));
|
v = ase_awk_makeintval (run, (n != 0));
|
||||||
if (v == ASE_NULL)
|
if (v == ASE_NULL)
|
||||||
{
|
{
|
||||||
ase_Awk_setrunerror (run, ASE_AWK_ENOMEM, nde->line, ASE_NULL);
|
ase_awk_setrunerror (run, ASE_AWK_ENOMEM, nde->line, ASE_NULL);
|
||||||
return ASE_NULL;
|
return ASE_NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user