*** empty log message ***
This commit is contained in:
parent
99579addf1
commit
c4a787ac59
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: val.c,v 1.67 2006-10-05 14:20:57 bacon Exp $
|
* $Id: val.c,v 1.68 2006-10-05 14:22:36 bacon Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <xp/awk/awk_i.h>
|
#include <xp/awk/awk_i.h>
|
||||||
@ -402,6 +402,7 @@ xp_char_t* xp_awk_valtostr (
|
|||||||
{
|
{
|
||||||
xp_awk_val_real_t* vr = (xp_awk_val_real_t*)v;
|
xp_awk_val_real_t* vr = (xp_awk_val_real_t*)v;
|
||||||
|
|
||||||
|
/*
|
||||||
if (vr->nde != XP_NULL && vr->nde->str != XP_NULL)
|
if (vr->nde != XP_NULL && vr->nde->str != XP_NULL)
|
||||||
{
|
{
|
||||||
return __str_to_str (
|
return __str_to_str (
|
||||||
@ -409,9 +410,9 @@ xp_char_t* xp_awk_valtostr (
|
|||||||
clear_buf, buf, len);
|
clear_buf, buf, len);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{*/
|
||||||
return __val_real_to_str (run, vr, clear_buf, buf, len);
|
return __val_real_to_str (run, vr, clear_buf, buf, len);
|
||||||
}
|
/*}*/
|
||||||
}
|
}
|
||||||
|
|
||||||
if (v->type == XP_AWK_VAL_STR)
|
if (v->type == XP_AWK_VAL_STR)
|
||||||
|
@ -10,8 +10,8 @@ BEGIN {
|
|||||||
print "1.0!=1 :", (1.0 != 1);
|
print "1.0!=1 :", (1.0 != 1);
|
||||||
print "1.1!=1 :", (1.1 != 1);
|
print "1.1!=1 :", (1.1 != 1);
|
||||||
|
|
||||||
print "abc" == "abc";
|
print "\"abc\" == \"abc\"", ("abc" == "abc");
|
||||||
print "abc" != "abc";
|
print "\"abc\" != \"abc\"", ("abc" != "abc");
|
||||||
|
|
||||||
print "--------------------------";
|
print "--------------------------";
|
||||||
print "a == \"\" :", (a == "");
|
print "a == \"\" :", (a == "");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user