From b104bc387c8c29e46940e791b45e716f4a2e1d3e Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Fri, 8 Dec 2006 06:02:41 +0000 Subject: [PATCH] *** empty log message *** --- ase/ase.dsw | 2 +- ase/awk/awk.h | 8 ++++---- ase/awk/parse.c | 6 ++++-- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/ase/ase.dsw b/ase/ase.dsw index 3cf94955..02e8b26e 100644 --- a/ase/ase.dsw +++ b/ase/ase.dsw @@ -15,7 +15,7 @@ Package=<4> ############################################################################### -Project: "awk.activex"=".\com\awk\awk.dsp" - Package Owner=<4> +Project: "awk.com"=.\com\awk\awk.dsp - Package Owner=<4> Package=<5> {{{ diff --git a/ase/awk/awk.h b/ase/awk/awk.h index d14b044e..d716f333 100644 --- a/ase/awk/awk.h +++ b/ase/awk/awk.h @@ -1,5 +1,5 @@ /* - * $Id: awk.h,v 1.160 2006-12-04 12:58:23 bacon Exp $ + * $Id: awk.h,v 1.161 2006-12-08 06:02:41 bacon Exp $ */ #ifndef _ASE_AWK_AWK_H_ @@ -83,9 +83,9 @@ struct ase_awk_syscas_t void* (*memset) (void* dst, int val, ase_size_t n); ase_real_t (*pow) (ase_real_t x, ase_real_t y); - int (*sprintf) (ase_char_t* buf, ase_size_t size, ase_char_t* fmt, ...); - void (*aprintf) (ase_char_t* fmt, ...); /* assertion */ - void (*dprintf) (ase_char_t* fmt, ...); /* debug */ + int (*sprintf) (ase_char_t* buf, ase_size_t size, const ase_char_t* fmt, ...); + void (*aprintf) (const ase_char_t* fmt, ...); /* assertion */ + void (*dprintf) (const ase_char_t* fmt, ...); /* debug */ void (*abort) (void); void* custom_data; diff --git a/ase/awk/parse.c b/ase/awk/parse.c index 8d043807..a425b9f7 100644 --- a/ase/awk/parse.c +++ b/ase/awk/parse.c @@ -1,5 +1,5 @@ /* - * $Id: parse.c,v 1.216 2006-12-04 12:58:23 bacon Exp $ + * $Id: parse.c,v 1.217 2006-12-08 06:02:41 bacon Exp $ */ #include @@ -346,7 +346,9 @@ int ase_awk_parse (ase_awk_t* awk, ase_awk_srcios_t* srcios) { int n; - ASE_AWK_ASSERT (awk, srcios != ASE_NULL && srcios->in != ASE_NULL); + ASE_AWK_ASSERTX (awk, + srcios != ASE_NULL && srcios->in != ASE_NULL, + "the source code input stream must be provided at least"); ASE_AWK_ASSERT (awk, awk->parse.depth.cur.loop == 0); ASE_AWK_ASSERT (awk, awk->parse.depth.cur.expr == 0);