added partial code to support 'include'

This commit is contained in:
2009-07-20 07:02:33 +00:00
parent 35e65743ab
commit 4bb3fe77eb
4 changed files with 43 additions and 11 deletions

View File

@ -1,5 +1,5 @@
/*
* $Id: Awk.hpp 239 2009-07-18 12:02:24Z hyunghwan.chung $
* $Id: Awk.hpp 240 2009-07-19 13:02:33Z hyunghwan.chung $
*
Copyright 2006-2009 Chung, Hyung-Hwan.
@ -145,6 +145,7 @@ public:
ERR_PRINTFARG = QSE_AWK_EPRINTFARG,
ERR_PREPST = QSE_AWK_EPREPST,
ERR_INCDECOPR = QSE_AWK_EINCDECOPR,
ERR_INCLSTR = QSE_AWK_EINCLSTR,
ERR_DIVBY0 = QSE_AWK_EDIVBY0,
ERR_OPERAND = QSE_AWK_EOPERAND,
ERR_POSIDX = QSE_AWK_EPOSIDX,

View File

@ -1,5 +1,5 @@
/*
* $Id: awk.h 239 2009-07-18 12:02:24Z hyunghwan.chung $
* $Id: awk.h 240 2009-07-19 13:02:33Z hyunghwan.chung $
*
Copyright 2006-2009 Chung, Hyung-Hwan.
@ -681,6 +681,7 @@ enum qse_awk_errnum_t
QSE_AWK_EPRINTFARG,/**< 'printf' not followed by argument */
QSE_AWK_EPREPST, /**< both prefix and postfix incr/decr operator present */
QSE_AWK_EINCDECOPR,/**< illegal operand for incr/decr operator */
QSE_AWK_EINCLSTR, /**< 'include' not followed by a string */
/* run time error */
QSE_AWK_EDIVBY0, /**< divide by zero */