Recovered from cvs revision 2007-09-08 13:08:00
This commit is contained in:
parent
f212242f01
commit
dc2af2c9ad
@ -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/mem.h>
|
||||
|
||||
namespace ASE
|
||||
{
|
||||
/////////////////////////////////
|
||||
ASE_BEGIN_NAMESPACE(ASE)
|
||||
/////////////////////////////////
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// Awk::Source
|
||||
@ -1144,4 +1145,7 @@ namespace ASE
|
||||
va_end (ap);
|
||||
}
|
||||
|
||||
}
|
||||
/////////////////////////////////
|
||||
ASE_END_NAMESPACE(ASE)
|
||||
/////////////////////////////////
|
||||
|
||||
|
@ -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_
|
||||
@ -9,8 +9,10 @@
|
||||
#include <ase/awk/map.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
namespace ASE
|
||||
{
|
||||
/////////////////////////////////
|
||||
ASE_BEGIN_NAMESPACE(ASE)
|
||||
/////////////////////////////////
|
||||
|
||||
/**
|
||||
* Provides the awk interpreter engine
|
||||
*/
|
||||
@ -705,6 +707,8 @@ namespace ASE
|
||||
Awk& operator= (const Awk&);
|
||||
};
|
||||
|
||||
}
|
||||
/////////////////////////////////
|
||||
ASE_END_NAMESPACE(ASE)
|
||||
/////////////////////////////////
|
||||
|
||||
#endif
|
||||
|
@ -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>
|
||||
@ -17,8 +17,10 @@
|
||||
#include <wchar.h>
|
||||
#endif
|
||||
|
||||
namespace ASE
|
||||
{
|
||||
/////////////////////////////////
|
||||
ASE_BEGIN_NAMESPACE(ASE)
|
||||
/////////////////////////////////
|
||||
|
||||
|
||||
StdAwk::StdAwk ()
|
||||
{
|
||||
@ -492,4 +494,7 @@ namespace ASE
|
||||
ase_vfprintf (stderr, fmt, arg);
|
||||
}
|
||||
|
||||
}
|
||||
/////////////////////////////////
|
||||
ASE_END_NAMESPACE(ASE)
|
||||
/////////////////////////////////
|
||||
|
||||
|
@ -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_
|
||||
@ -7,13 +7,14 @@
|
||||
|
||||
#include <ase/awk/Awk.hpp>
|
||||
|
||||
namespace ASE
|
||||
{
|
||||
/////////////////////////////////
|
||||
ASE_BEGIN_NAMESPACE(ASE)
|
||||
/////////////////////////////////
|
||||
|
||||
class StdAwk: public Awk
|
||||
{
|
||||
public:
|
||||
StdAwk ();
|
||||
|
||||
int open ();
|
||||
|
||||
protected:
|
||||
@ -92,7 +93,9 @@ namespace ASE
|
||||
unsigned int seed;
|
||||
};
|
||||
|
||||
}
|
||||
/////////////////////////////////
|
||||
ASE_END_NAMESPACE(ASE)
|
||||
/////////////////////////////////
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -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}
|
||||
*/
|
||||
@ -150,4 +150,12 @@
|
||||
#define ASE_TOUPPER(ccls,c) (ccls)->to_upper((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
|
||||
|
Loading…
x
Reference in New Issue
Block a user