*** empty log message ***

This commit is contained in:
2006-03-05 17:07:33 +00:00
parent 105878c6cf
commit 3d107dd3b2
12 changed files with 330 additions and 198 deletions

View File

@ -79,6 +79,7 @@ int xp_main (int argc, xp_char_t* argv[])
}
awk.opt.parse = XP_AWK_EXPLICIT | XP_AWK_UNIQUE | XP_AWK_SHADING | XP_AWK_IMPLICIT;
if (xp_awk_parse(&awk) == -1) {
xp_printf (
XP_TEXT("error: cannot parse program - [%d] %s\n"),
@ -87,6 +88,13 @@ awk.opt.parse = XP_AWK_EXPLICIT | XP_AWK_UNIQUE | XP_AWK_SHADING | XP_AWK_IMPLIC
return -1;
}
if (xp_awk_run(&awk) == -1) {
xp_printf (
XP_TEXT("error: cannot run program - [%d] %s\n"),
xp_awk_geterrnum(&awk), xp_awk_geterrstr(&awk));
xp_awk_close (&awk);
}
xp_awk_close (&awk);
#ifdef __linux