*** empty log message ***
This commit is contained in:
parent
2b3754ad15
commit
a3de9b9a97
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: awk.h,v 1.122 2006-10-06 03:33:43 bacon Exp $
|
* $Id: awk.h,v 1.123 2006-10-06 03:41:54 bacon Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _XP_AWK_AWK_H_
|
#ifndef _XP_AWK_AWK_H_
|
||||||
@ -354,7 +354,7 @@ xp_long_t xp_awk_strxtolong (
|
|||||||
int base, const xp_char_t** endptr);
|
int base, const xp_char_t** endptr);
|
||||||
xp_real_t xp_awk_strxtoreal (
|
xp_real_t xp_awk_strxtoreal (
|
||||||
xp_awk_t* awk, const xp_char_t* str, xp_size_t len,
|
xp_awk_t* awk, const xp_char_t* str, xp_size_t len,
|
||||||
const xp_char_t* endptr);
|
const xp_char_t** endptr);
|
||||||
|
|
||||||
xp_size_t xp_awk_longtostr (
|
xp_size_t xp_awk_longtostr (
|
||||||
xp_long_t value, int radix, const xp_char_t* prefix,
|
xp_long_t value, int radix, const xp_char_t* prefix,
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: run.c,v 1.224 2006-10-06 03:37:40 bacon Exp $
|
* $Id: run.c,v 1.225 2006-10-06 03:41:54 bacon Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <xp/awk/awk_i.h>
|
#include <xp/awk/awk_i.h>
|
||||||
@ -2842,7 +2842,7 @@ static int __cmp_int_str (
|
|||||||
|
|
||||||
r = xp_awk_strxtolong (run->awk,
|
r = xp_awk_strxtolong (run->awk,
|
||||||
((xp_awk_val_str_t*)right)->buf,
|
((xp_awk_val_str_t*)right)->buf,
|
||||||
((xp_awk_val_str_t*)right)->len, 0, &str);
|
((xp_awk_val_str_t*)right)->len, 0, (const xp_char_t**)&str);
|
||||||
if (str == ((xp_awk_val_str_t*)right)->buf +
|
if (str == ((xp_awk_val_str_t*)right)->buf +
|
||||||
((xp_awk_val_str_t*)right)->len)
|
((xp_awk_val_str_t*)right)->len)
|
||||||
{
|
{
|
||||||
@ -2850,7 +2850,7 @@ static int __cmp_int_str (
|
|||||||
if (((xp_awk_val_int_t*)left)->val < r) return -1;
|
if (((xp_awk_val_int_t*)left)->val < r) return -1;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
else if (*str == XP_T('.') || *str == XP_T('E') || *sstr == XP_T('e'))
|
else if (*str == XP_T('.') || *str == XP_T('E') || *str == XP_T('e'))
|
||||||
{
|
{
|
||||||
/* TODO: */
|
/* TODO: */
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user