*** empty log message ***

This commit is contained in:
hyung-hwan 2006-08-04 06:39:05 +00:00
parent 40c5fef59c
commit 3f2a87784f
5 changed files with 7 additions and 13 deletions

View File

@ -1,5 +1,5 @@
/* /*
* $Id: parse.c,v 1.155 2006-08-03 15:49:37 bacon Exp $ * $Id: parse.c,v 1.156 2006-08-04 06:39:05 bacon Exp $
*/ */
#include <xp/awk/awk_i.h> #include <xp/awk/awk_i.h>
@ -2267,7 +2267,7 @@ static xp_awk_nde_t* __parse_primary_ident (xp_awk_t* awk)
return XP_NULL; return XP_NULL;
} }
/* what if name_dup is a built-in function name */ /* check if name_dup is a built-in function name */
bfn = xp_awk_getbfn (awk, name_dup); bfn = xp_awk_getbfn (awk, name_dup);
if (bfn != XP_NULL) if (bfn != XP_NULL)
{ {

View File

@ -15,12 +15,10 @@ function sum (i)
return y; return y;
} }
BEGIN END {
{
/*x = sum (10000000); /*x = sum (10000000);
*/ */
x = sum (100); x = sum (100);
s = x; s = x;
ss = z; ss = z;
} }

View File

@ -6,8 +6,7 @@ func func1 (x)
x["abc"] = 123; x["abc"] = 123;
} }
BEGIN BEGIN {
{
idx="abc"; idx="abc";
x[idx] = 12345; x[idx] = 12345;
i = x[idx]; i = x[idx];

View File

@ -1,5 +1,4 @@
BEGIN BEGIN {
{
x[1] = 20; x[1] = 20;
x[2] = 40; x[2] = 40;
x[3] = 50; x[3] = 50;

View File

@ -1,5 +1,4 @@
BEGIN BEGIN {
{
j = -20; j = -20;
for (i = -10; i < 10; i++) for (i = -10; i < 10; i++)
@ -16,8 +15,7 @@ BEGIN
} }
} }
END END {
{
print "i = ", i; print "i = ", i;
print "j = ", j; print "j = ", j;
} }