Recovered from cvs revision 2007-09-08 13:08:00

This commit is contained in:
hyung-hwan 2007-09-11 22:42:00 +00:00
parent f212242f01
commit dc2af2c9ad
5 changed files with 2269 additions and 2245 deletions

View File

@ -1,5 +1,5 @@
/* /*
* $Id: Awk.cpp,v 1.53 2007/09/06 08:44:42 bacon Exp $ * $Id: Awk.cpp,v 1.54 2007/09/07 05:40:16 bacon Exp $
*/ */
@ -8,8 +8,9 @@
#include <ase/cmn/str.h> #include <ase/cmn/str.h>
#include <ase/cmn/mem.h> #include <ase/cmn/mem.h>
namespace ASE /////////////////////////////////
{ ASE_BEGIN_NAMESPACE(ASE)
/////////////////////////////////
////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////
// Awk::Source // Awk::Source
@ -1144,4 +1145,7 @@ namespace ASE
va_end (ap); va_end (ap);
} }
} /////////////////////////////////
ASE_END_NAMESPACE(ASE)
/////////////////////////////////

View File

@ -1,5 +1,5 @@
/* /*
* $Id: Awk.hpp,v 1.52 2007/09/06 14:38:56 bacon Exp $ * $Id: Awk.hpp,v 1.53 2007/09/07 05:40:16 bacon Exp $
*/ */
#ifndef _ASE_AWK_AWK_HPP_ #ifndef _ASE_AWK_AWK_HPP_
@ -9,8 +9,10 @@
#include <ase/awk/map.h> #include <ase/awk/map.h>
#include <stdarg.h> #include <stdarg.h>
namespace ASE /////////////////////////////////
{ ASE_BEGIN_NAMESPACE(ASE)
/////////////////////////////////
/** /**
* Provides the awk interpreter engine * Provides the awk interpreter engine
*/ */
@ -705,6 +707,8 @@ namespace ASE
Awk& operator= (const Awk&); Awk& operator= (const Awk&);
}; };
} /////////////////////////////////
ASE_END_NAMESPACE(ASE)
/////////////////////////////////
#endif #endif

View File

@ -1,5 +1,5 @@
/* /*
* $Id: StdAwk.cpp,v 1.25 2007/09/06 09:23:34 bacon Exp $ * $Id: StdAwk.cpp,v 1.26 2007/09/07 05:40:16 bacon Exp $
*/ */
#include <ase/awk/StdAwk.hpp> #include <ase/awk/StdAwk.hpp>
@ -17,8 +17,10 @@
#include <wchar.h> #include <wchar.h>
#endif #endif
namespace ASE /////////////////////////////////
{ ASE_BEGIN_NAMESPACE(ASE)
/////////////////////////////////
StdAwk::StdAwk () StdAwk::StdAwk ()
{ {
@ -492,4 +494,7 @@ namespace ASE
ase_vfprintf (stderr, fmt, arg); ase_vfprintf (stderr, fmt, arg);
} }
} /////////////////////////////////
ASE_END_NAMESPACE(ASE)
/////////////////////////////////

View File

@ -1,5 +1,5 @@
/* /*
* $Id: StdAwk.hpp,v 1.13 2007/08/26 14:33:38 bacon Exp $ * $Id: StdAwk.hpp,v 1.14 2007/09/07 05:40:16 bacon Exp $
*/ */
#ifndef _ASE_AWK_STDAWK_HPP_ #ifndef _ASE_AWK_STDAWK_HPP_
@ -7,13 +7,14 @@
#include <ase/awk/Awk.hpp> #include <ase/awk/Awk.hpp>
namespace ASE /////////////////////////////////
{ ASE_BEGIN_NAMESPACE(ASE)
/////////////////////////////////
class StdAwk: public Awk class StdAwk: public Awk
{ {
public: public:
StdAwk (); StdAwk ();
int open (); int open ();
protected: protected:
@ -92,7 +93,9 @@ namespace ASE
unsigned int seed; unsigned int seed;
}; };
} /////////////////////////////////
ASE_END_NAMESPACE(ASE)
/////////////////////////////////
#endif #endif

View File

@ -1,5 +1,5 @@
/* /*
* $Id: macros.h,v 1.5 2007/05/06 10:08:36 bacon Exp $ * $Id: macros.h,v 1.6 2007/09/07 05:40:16 bacon Exp $
* *
* {License} * {License}
*/ */
@ -150,4 +150,12 @@
#define ASE_TOUPPER(ccls,c) (ccls)->to_upper((ccls)->custom_data,c) #define ASE_TOUPPER(ccls,c) (ccls)->to_upper((ccls)->custom_data,c)
#define ASE_TOLOWER(ccls,c) (ccls)->to_lower((ccls)->custom_data,c) #define ASE_TOLOWER(ccls,c) (ccls)->to_lower((ccls)->custom_data,c)
#ifdef __cplusplus
#define ASE_BEGIN_NAMESPACE(x) namespace x {
#define ASE_END_NAMESPACE(x) }
#define ASE_BEGIN_NAMESPACE2(x,y) namespace x { namespace y {
#define ASE_END_NAMESPACE2(y,x) }}
#endif
#endif #endif