*** empty log message ***

This commit is contained in:
hyung-hwan 2006-12-19 14:49:24 +00:00
parent 2220cca7e4
commit 0ff7c9c8d1
2 changed files with 6 additions and 9 deletions

View File

@ -1,5 +1,5 @@
/*
* $Id: parse.c,v 1.225 2006-12-19 14:20:30 bacon Exp $
* $Id: parse.c,v 1.226 2006-12-19 14:49:24 bacon Exp $
*/
#include <ase/awk/awk_i.h>
@ -3363,8 +3363,6 @@ static ase_awk_nde_t* __parse_print (ase_awk_t* awk, ase_size_t line, int type)
ase_awk_nde_t* out = ASE_NULL;
int out_type;
ASE_AWK_ASSERT (awk, awk->token.prev.type == TOKEN_PRINT);
if (!MATCH(awk,TOKEN_SEMICOLON) &&
!MATCH(awk,TOKEN_GT) &&
!MATCH(awk,TOKEN_RSHIFT) &&

View File

@ -1,5 +1,5 @@
/*
* $Id: awk.c,v 1.144 2006-12-19 14:26:27 bacon Exp $
* $Id: awk.c,v 1.145 2006-12-19 14:49:24 bacon Exp $
*/
#include <ase/awk/awk.h>
@ -153,11 +153,11 @@ static FILE* awk_fopen (const ase_char_t* path, const ase_char_t* mode)
char mode_mb[32];
size_t n;
n = wcstombs (path, path_mb, ASE_COUNTOF(path_mb))
n = wcstombs (path_mb, path, ASE_COUNTOF(path_mb));
if (n == -1) return NULL;
if (n == ASE_COUNTOF(path_mb)) path_mb[ASE_COUNTOF(path_mb)-1] = '\0';
n = wcstombs (mode, mode_mb, ASE_COUNTOF(mode_mb))
n = wcstombs (mode_mb, mode, ASE_COUNTOF(mode_mb));
if (n == -1) return NULL;
if (n == ASE_COUNTOF(mode_mb)) path_mb[ASE_COUNTOF(mode_mb)-1] = '\0';
@ -179,14 +179,13 @@ static FILE* awk_popen (const ase_char_t* cmd, const ase_char_t* mode)
char mode_mb[32];
size_t n;
n = wcstombs (cmd, cmd_mb, ASE_COUNTOF(cmd_mb))
n = wcstombs (cmd_mb, cmd, ASE_COUNTOF(cmd_mb));
if (n == -1) return NULL;
if (n == ASE_COUNTOF(cmd_mb)) cmd_mb[ASE_COUNTOF(cmd_mb)-1] = '\0';
n = wcstombs (mode, mode_mb, ASE_COUNTOF(mode_mb))
n = wcstombs (mode_mb, mode, ASE_COUNTOF(mode_mb));
if (n == -1) return NULL;
if (n == ASE_COUNTOF(mode_mb)) cmd_mb[ASE_COUNTOF(mode_mb)-1] = '\0';
return popen (cmd_mb, mode_mb);
#endif
}