diff --git a/ase/awk/val.c b/ase/awk/val.c index 7961620e..f9b2e42b 100644 --- a/ase/awk/val.c +++ b/ase/awk/val.c @@ -1,5 +1,5 @@ /* - * $Id: val.c,v 1.39 2006-07-12 07:25:15 bacon Exp $ + * $Id: val.c,v 1.40 2006-07-12 17:04:02 bacon Exp $ */ #include @@ -190,8 +190,8 @@ xp_awk_val_t* xp_awk_makemapval (xp_awk_run_t* run) xp_bool_t xp_awk_isbuiltinval (xp_awk_val_t* val) { return val == XP_NULL || - val == xp_awk_val_nil || - val == xp_awk_val_zls || + val == xp_awk_val_nil || val == xp_awk_val_zls || + val == xp_awk_val_zero || val == xp_awk_val_one || (val >= (xp_awk_val_t*)&__awk_int[0] && val <= (xp_awk_val_t*)&__awk_int[xp_countof(__awk_int)-1]); } diff --git a/ase/test/awk/t14.awk b/ase/test/awk/t14.awk index 008c1d8f..d9c22712 100644 --- a/ase/test/awk/t14.awk +++ b/ase/test/awk/t14.awk @@ -28,12 +28,14 @@ global x, y; } $1 = 100; + //$1 = $2; //$3 = $2; //$2 = $2; - $20 = 10; + + $10 = 10; print $0; print "--------------------"; - print NF; + print "NF ===>>> " NF; print "===================="; }