touched up code

This commit is contained in:
2009-05-22 00:50:02 +00:00
parent 1893905652
commit 4005bd68e8
9 changed files with 90 additions and 146 deletions

View File

@ -1,5 +1,5 @@
/*
* $Id: awk01.c 86 2009-02-26 12:55:05Z hyunghwan.chung $
* $Id: awk01.c 151 2009-05-21 06:50:02Z hyunghwan.chung $
*
Copyright 2006-2009 Chung, Hyung-Hwan.
@ -16,12 +16,6 @@
limitations under the License.
*/
/****S* AWK/Basic Loop
* DESCRIPTION
* This program demonstrates how to use qse_awk_rtx_loop().
* SOURCE
*/
#include <qse/awk/awk.h>
#include <qse/awk/std.h>
#include <qse/utl/stdio.h>
@ -88,4 +82,3 @@ oops:
return -1;
}
/******/

View File

@ -1,5 +1,5 @@
/*
* $Id: awk02.c 90 2009-03-01 09:58:19Z hyunghwan.chung $
* $Id: awk02.c 151 2009-05-21 06:50:02Z hyunghwan.chung $
*
Copyright 2006-2009 Chung, Hyung-Hwan.
@ -16,12 +16,6 @@
limitations under the License.
*/
/****S* AWK/Basic Loop With Deparsing
* DESCRIPTION
* The program deparses the source code and prints it before executing it.
* SOURCE
*/
#include <qse/awk/awk.h>
#include <qse/awk/std.h>
#include <qse/cmn/mem.h>
@ -103,4 +97,3 @@ oops:
return -1;
}
/******/

View File

@ -1,5 +1,5 @@
/*
* $Id: awk03.c 90 2009-03-01 09:58:19Z hyunghwan.chung $
* $Id: awk03.c 151 2009-05-21 06:50:02Z hyunghwan.chung $
*
Copyright 2006-2009 Chung, Hyung-Hwan.
@ -16,14 +16,6 @@
limitations under the License.
*/
/****S* AWK/Calling Functions
* DESCRIPTION
* This program demonstrates how to use qse_awk_rtx_call().
* It parses the program stored in the string src and calls the functions
* stated in the array fnc. If no errors occur, it should print 24.
* SOURCE
*/
#include <qse/awk/awk.h>
#include <qse/awk/std.h>
#include <qse/utl/stdio.h>
@ -125,4 +117,3 @@ oops:
if (awk != QSE_NULL) qse_awk_close (awk);
return ret;
}
/******/