From bbb02241f37f3b4e3390d1423181114a8d78f283 Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Wed, 12 Dec 2007 19:36:52 +0000 Subject: [PATCH] --- ase/awk/parse.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ase/awk/parse.c b/ase/awk/parse.c index 53cef365..767f636b 100644 --- a/ase/awk/parse.c +++ b/ase/awk/parse.c @@ -534,7 +534,9 @@ static int parse (ase_awk_t* awk) awk->parse.afns.buf[sz].name.len) == ASE_NULL) { /* TODO: set proper error number */ - SETERR (awk, ASE_AWK_EINVAL); + SETERRARG (awk, ASE_AWK_EFNNONE, 0, + awk->parse.afns.buf[sz].name.ptr, + awk->parse.afns.buf[sz].name.len); n = -1; goto exit_parse; }