touched up code

This commit is contained in:
2009-08-21 05:28:03 +00:00
parent b6ca96214a
commit f565bd46cc
9 changed files with 864 additions and 884 deletions

View File

@ -1,5 +1,5 @@
/*
* $Id: Awk.hpp 258 2009-08-19 14:04:15Z hyunghwan.chung $
* $Id: Awk.hpp 259 2009-08-20 11:28:03Z hyunghwan.chung $
*
Copyright 2006-2009 Chung, Hyung-Hwan.
@ -164,9 +164,10 @@ public:
ERR_POSVALASSMAP = QSE_AWK_EPOSVALASSMAP,
ERR_MAPTOSCALAR = QSE_AWK_EMAPTOSCALAR,
ERR_SCALARTOMAP = QSE_AWK_ESCALARTOMAP,
ERR_MAPNOTALLOWED = QSE_AWK_EMAPNOTALLOWED,
ERR_MAPNA = QSE_AWK_EMAPNA,
ERR_VALTYPE = QSE_AWK_EVALTYPE,
ERR_RDELETE = QSE_AWK_ERDELETE,
ERR_RRESET = QSE_AWK_ERRESET,
ERR_RNEXTBEG = QSE_AWK_ERNEXTBEG,
ERR_RNEXTEND = QSE_AWK_ERNEXTEND,
ERR_RNEXTFBEG = QSE_AWK_ERNEXTFBEG,

View File

@ -1,4 +1,3 @@
pkginclude_HEADERS = awk.h std.h
if ENABLE_CXX

View File

@ -1,5 +1,5 @@
/*
* $Id: StdAwk.hpp 258 2009-08-19 14:04:15Z hyunghwan.chung $
* $Id: StdAwk.hpp 259 2009-08-20 11:28:03Z hyunghwan.chung $
*
Copyright 2006-2009 Chung, Hyung-Hwan.
@ -40,14 +40,14 @@ QSE_BEGIN_NAMESPACE(QSE)
/**
* Provides a more useful interpreter by overriding primitive methods,
* the file handler, the pipe handler and implementing common intrinsic
* and implementing the file handler, the pipe handler, and common intrinsic
* functions.
*/
class StdAwk: public Awk
{
public:
/**
* Implements script input from a file and deparsing into a file.
* Implements script I/O from and to a file.
*/
class SourceFile: public Source
{

View File

@ -1,5 +1,5 @@
/*
* $Id: awk.h 258 2009-08-19 14:04:15Z hyunghwan.chung $
* $Id: awk.h 259 2009-08-20 11:28:03Z hyunghwan.chung $
*
Copyright 2006-2009 Chung, Hyung-Hwan.
@ -723,7 +723,7 @@ enum qse_awk_errnum_t
QSE_AWK_EPOSVALASSMAP, /**< a positional cannot be assigned a map */
QSE_AWK_EMAPTOSCALAR, /**< map '${0}' not assignable with a scalar */
QSE_AWK_ESCALARTOMAP, /**< cannot change a scalar value to a map */
QSE_AWK_EMAPNOTALLOWED,/**< map not allowed */
QSE_AWK_EMAPNA, /**< map not allowed */
QSE_AWK_EVALTYPE, /**< invalid value type */
QSE_AWK_ERDELETE, /**< 'delete' called with wrong target */
QSE_AWK_ERRESET, /**< 'reset' called with wrong target */