*** empty log message ***
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* $Id: awk.c,v 1.182 2007-03-04 06:39:13 bacon Exp $
|
||||
* $Id: awk.c,v 1.183 2007-03-04 15:04:40 bacon Exp $
|
||||
*/
|
||||
|
||||
#include <ase/awk/awk.h>
|
||||
@ -873,7 +873,7 @@ static int awk_main (int argc, ase_char_t* argv[])
|
||||
#endif
|
||||
ase_printf (
|
||||
ASE_T("ERROR: cannot open awk [%d] %s\n"),
|
||||
errnum, ase_awk_geterrstr(errnum));
|
||||
errnum, ase_awk_geterrstr(ASE_NULL, errnum));
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -919,10 +919,12 @@ static int awk_main (int argc, ase_char_t* argv[])
|
||||
|
||||
if (ase_awk_run (awk, mfn, &runios, &runcbs, runarg, ASE_NULL) == -1)
|
||||
{
|
||||
int errnum = ase_awk_geterrnum(awk);
|
||||
ase_printf (
|
||||
ASE_T("error: cannot run program - [%d] %s\n"),
|
||||
errnum, ase_awk_geterrstr(errnum));
|
||||
ASE_T("RUN ERROR: CODE [%d] LINE [%u] %s\n"),
|
||||
ase_awk_geterrnum(awk),
|
||||
(unsigned int)ase_awk_geterrlin(awk),
|
||||
ase_awk_geterrmsg(awk));
|
||||
|
||||
ase_awk_close (awk);
|
||||
return -1;
|
||||
}
|
||||
|
@ -1 +1 @@
|
||||
PARSE ERROR: CODE [36] LINE [2] invalid character ''
|
||||
PARSE ERROR: CODE [35] LINE [2] invalid character ''
|
||||
|
@ -5,4 +5,4 @@ BEGIN {
|
||||
abc = 10;
|
||||
}
|
||||
|
||||
RUN ERROR: CODE [91] LINE [5] map 'abc' not assignable with a scalar
|
||||
RUN ERROR: CODE [90] LINE [5] map 'abc' not assignable with a scalar
|
||||
|
@ -2,4 +2,4 @@ BEGIN {
|
||||
delete ARGC;
|
||||
}
|
||||
|
||||
RUN ERROR: CODE [85] LINE [2] variable 'ARGC' not deletable
|
||||
RUN ERROR: CODE [84] LINE [2] variable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xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxhelphelp ();
|
||||
}
|
||||
|
||||
RUN ERROR: CODE [83] LINE [2] function 'helpxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxhel...' not found
|
||||
RUN ERROR: CODE [82] LINE [2] function 'helpxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxhel...' not found
|
||||
|
@ -1 +1 @@
|
||||
PARSE ERROR: CODE [60] LINE [2] built-in function 'substr' redefined
|
||||
PARSE ERROR: CODE [59] LINE [2] built-in function 'substr' redefined
|
||||
|
@ -1 +1 @@
|
||||
PARSE ERROR: CODE [60] LINE [3] built-in function 'substr' redefined
|
||||
PARSE ERROR: CODE [59] LINE [3] built-in function 'substr' redefined
|
||||
|
@ -1 +1 @@
|
||||
PARSE ERROR: CODE [61] LINE [9] function 'abc' redefined
|
||||
PARSE ERROR: CODE [60] LINE [9] function 'abc' redefined
|
||||
|
@ -1 +1 @@
|
||||
PARSE ERROR: CODE [62] LINE [4] global variable 'abc' redefined
|
||||
PARSE ERROR: CODE [61] LINE [4] global variable 'abc' redefined
|
||||
|
@ -1 +1 @@
|
||||
PARSE ERROR: CODE [63] LINE [4] parameter 'x' redefined
|
||||
PARSE ERROR: CODE [62] LINE [4] parameter 'x' redefined
|
||||
|
@ -1 +1 @@
|
||||
PARSE ERROR: CODE [61] LINE [11] function 'abc' redefined
|
||||
PARSE ERROR: CODE [60] LINE [11] function 'abc' redefined
|
||||
|
@ -1 +1 @@
|
||||
PARSE ERROR: CODE [61] LINE [1] function 'abc' redefined
|
||||
PARSE ERROR: CODE [60] LINE [1] function 'abc' redefined
|
||||
|
Reference in New Issue
Block a user