*** empty log message ***
This commit is contained in:
parent
f0c2aa5331
commit
1cb374c820
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* $Id: awk.c,v 1.117 2007-03-09 14:19:54 bacon Exp $
|
||||
* $Id: awk.c,v 1.118 2007-03-12 12:55:57 bacon Exp $
|
||||
*
|
||||
* {License}
|
||||
*/
|
||||
@ -17,11 +17,12 @@ ase_awk_t* ase_awk_open (const ase_awk_prmfns_t* prmfns, void* custom_data)
|
||||
{
|
||||
ase_awk_t* awk;
|
||||
|
||||
ASE_ASSERT (
|
||||
prmfns != ASE_NULL &&
|
||||
prmfns->mmgr.malloc != ASE_NULL &&
|
||||
prmfns->mmgr.free != ASE_NULL &&
|
||||
prmfns->ccls.is_upper != ASE_NULL &&
|
||||
ASE_ASSERT (prmfns != ASE_NULL);
|
||||
|
||||
ASE_ASSERT (prmfns->mmgr.malloc != ASE_NULL &&
|
||||
prmfns->mmgr.free != ASE_NULL);
|
||||
|
||||
ASE_ASSERT (prmfns->ccls.is_upper != ASE_NULL &&
|
||||
prmfns->ccls.is_lower != ASE_NULL &&
|
||||
prmfns->ccls.is_alpha != ASE_NULL &&
|
||||
prmfns->ccls.is_digit != ASE_NULL &&
|
||||
@ -33,8 +34,9 @@ ase_awk_t* ase_awk_open (const ase_awk_prmfns_t* prmfns, void* custom_data)
|
||||
prmfns->ccls.is_cntrl != ASE_NULL &&
|
||||
prmfns->ccls.is_punct != ASE_NULL &&
|
||||
prmfns->ccls.to_upper != ASE_NULL &&
|
||||
prmfns->ccls.to_lower != ASE_NULL &&
|
||||
prmfns->misc.pow != ASE_NULL &&
|
||||
prmfns->ccls.to_lower != ASE_NULL);
|
||||
|
||||
ASE_ASSERT (prmfns->misc.pow != ASE_NULL &&
|
||||
prmfns->misc.sprintf != ASE_NULL &&
|
||||
prmfns->misc.dprintf != ASE_NULL);
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* $Id: tree.c,v 1.106 2007-03-06 14:51:53 bacon Exp $
|
||||
* $Id: tree.c,v 1.107 2007-03-12 12:53:12 bacon Exp $
|
||||
*
|
||||
* {License}
|
||||
*/
|
||||
@ -305,6 +305,8 @@ static int __print_expression (ase_awk_t* awk, ase_awk_nde_t* nde)
|
||||
PUT_SRCSTR (awk, ASE_T("\\v"));
|
||||
else if (ptr[i] == ASE_T('\a'))
|
||||
PUT_SRCSTR (awk, ASE_T("\\a"));
|
||||
else if (ptr[i] == ASE_T('\0'))
|
||||
PUT_SRCSTR (awk, ASE_T("\\0"));
|
||||
else
|
||||
PUT_SRCSTRX (awk, &ptr[i], 1);
|
||||
}
|
||||
|
@ -78,9 +78,7 @@ struct ase_awk_prmfns_t
|
||||
{
|
||||
ase_awk_pow_t pow;
|
||||
ase_awk_sprintf_t sprintf;
|
||||
ase_awk_aprintf_t aprintf;
|
||||
ase_awk_dprintf_t dprintf;
|
||||
ase_awk_abort_t abort;
|
||||
void* custom_data;
|
||||
} misc;
|
||||
};
|
||||
|
@ -1 +1 @@
|
||||
PARSE ERROR: CODE [35] LINE [2] invalid character ''
|
||||
PARSE ERROR: CODE [34] LINE [2] invalid character ''
|
||||
|
@ -5,4 +5,4 @@ BEGIN {
|
||||
abc = 10;
|
||||
}
|
||||
|
||||
RUN ERROR: CODE [90] LINE [5] map 'abc' not assignable with a scalar
|
||||
RUN ERROR: CODE [98] LINE [5] map 'abc' not assignable with a scalar
|
||||
|
@ -2,4 +2,4 @@ BEGIN {
|
||||
delete ARGC;
|
||||
}
|
||||
|
||||
RUN ERROR: CODE [84] LINE [2] variable 'ARGC' not deletable
|
||||
RUN ERROR: CODE [90] LINE [2] variable 'ARGC' not deletable
|
||||
|
@ -3,4 +3,4 @@ BEGIN {
|
||||
delete iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiix;
|
||||
}
|
||||
|
||||
RUN ERROR: CODE [84] LINE [3] variable 'iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii...' not deletable
|
||||
RUN ERROR: CODE [90] LINE [3] variable 'iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii...' not deletable
|
||||
|
@ -2,4 +2,4 @@ BEGIN {
|
||||
helpxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxhelphelp ();
|
||||
}
|
||||
|
||||
RUN ERROR: CODE [82] LINE [2] function 'helpxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxhel...' not found
|
||||
RUN ERROR: CODE [88] LINE [2] function 'helpxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxhel...' not found
|
||||
|
1
ase/test/awk/err-014.out
Normal file
1
ase/test/awk/err-014.out
Normal file
@ -0,0 +1 @@
|
||||
PARSE ERROR: CODE [46] LINE [5] a colon expected in place of ';'
|
1
ase/test/awk/err-015.out
Normal file
1
ase/test/awk/err-015.out
Normal file
@ -0,0 +1 @@
|
||||
PARSE ERROR: CODE [41] LINE [2] a left parenthesis expected in place of '='
|
1
ase/test/awk/err-016.out
Normal file
1
ase/test/awk/err-016.out
Normal file
@ -0,0 +1 @@
|
||||
PARSE ERROR: CODE [55] LINE [2] BEGIN not followed by a left bracket on the same line
|
1
ase/test/awk/err-017.out
Normal file
1
ase/test/awk/err-017.out
Normal file
@ -0,0 +1 @@
|
||||
PARSE ERROR: CODE [66] LINE [1] '+' not a valid parameter name
|
1
ase/test/awk/err-018.out
Normal file
1
ase/test/awk/err-018.out
Normal file
@ -0,0 +1 @@
|
||||
PARSE ERROR: CODE [67] LINE [1] '+' not a valid variable name
|
1
ase/test/awk/err-019.out
Normal file
1
ase/test/awk/err-019.out
Normal file
@ -0,0 +1 @@
|
||||
PARSE ERROR: CODE [67] LINE [3] '+' not a valid variable name
|
5
ase/test/awk/err-020.out
Normal file
5
ase/test/awk/err-020.out
Normal file
@ -0,0 +1,5 @@
|
||||
BEGIN {
|
||||
print abc > "123\0abc";
|
||||
}
|
||||
|
||||
RUN ERROR: CODE [113] LINE [2] i/o name containing a null character
|
Loading…
Reference in New Issue
Block a user