*** empty log message ***

This commit is contained in:
hyung-hwan 2007-02-18 16:49:03 +00:00
parent 9a069ffaeb
commit e89b9e27ab
4 changed files with 17 additions and 20 deletions

View File

@ -1,5 +1,5 @@
/*
* $Id: rex.c,v 1.64 2007-02-18 16:21:10 bacon Exp $
* $Id: rex.c,v 1.65 2007-02-18 16:45:18 bacon Exp $
*
* {License}
*/
@ -55,17 +55,15 @@ typedef struct __match_t __match_t;
#include <ase/pack.h>
struct __code_t
{
ASE_BEGIN_PACKED_STRUCT (__code_t)
/*ase_byte_t cmd;*/
short cmd;
short negate; /* only for CMD_CHARSET */
ase_size_t lbound;
ase_size_t ubound;
};
ASE_END_PACKED_STRUCT ()
struct __builder_t
{
ASE_BEGIN_PACKED_STRUCT (__builder_t)
ase_awk_t* awk;
struct
@ -94,10 +92,9 @@ struct __builder_t
} depth;
int errnum;
};
ASE_END_PACKED_STRUCT ()
struct __matcher_t
{
ASE_BEGIN_PACKED_STRUCT (__matcher_t)
ase_awk_t* awk;
struct
@ -117,10 +114,9 @@ struct __matcher_t
int ignorecase;
int errnum;
};
ASE_END_PACKED_STRUCT ()
struct __match_t
{
ASE_BEGIN_PACKED_STRUCT (__match_t)
const ase_char_t* match_ptr;
ase_bool_t matched;
@ -128,9 +124,9 @@ struct __match_t
const ase_byte_t* branch;
const ase_byte_t* branch_end;
};
ASE_END_PACKED_STRUCT ()
#include <ase/pack.h>
#include <ase/unpack.h>
typedef const ase_byte_t* (*atom_matcher_t) (
__matcher_t* matcher, const ase_byte_t* base, __match_t* mat);

View File

@ -1,5 +1,5 @@
/*
* $Id: macros.h,v 1.48 2007-02-18 15:51:07 bacon Exp $
* $Id: macros.h,v 1.49 2007-02-18 16:45:45 bacon Exp $
*
* {License}
*/
@ -91,9 +91,6 @@
#if defined(__GNUC__)
#define ASE_BEGIN_PACKED_STRUCT(x) struct x {
#define ASE_END_PACKED_STRUCT() } __attribute__((packed));
#elif defined(__HP_aCC) || defined(__HP_cc)
#define ASE_BEGIN_PACKED_STRUCT(x) struct x {
#define ASE_END_PACKED_STRUCT() } __attribute__((packed));
#else
#define ASE_BEGIN_PACKED_STRUCT(x) struct x {
#define ASE_END_PACKED_STRUCT() };

View File

@ -1,5 +1,5 @@
/*
* $Id: pack.h,v 1.2 2007-02-18 16:21:10 bacon Exp $
* $Id: pack.h,v 1.3 2007-02-18 16:49:03 bacon Exp $
*
* {License}
*/
@ -8,4 +8,6 @@
#pragma pack(push,1)
#elif defined(__HP_aCC) || defined(__HP_cc)
#pragma PACK 1
#elif defined(_MSC_VER) || defined(__BORLANDC__)
#pragma pack(push,1)
#endif

View File

@ -1,5 +1,5 @@
/*
* $Id: unpack.h,v 1.2 2007-02-18 16:21:10 bacon Exp $
* $Id: unpack.h,v 1.3 2007-02-18 16:49:03 bacon Exp $
*
* {License}
*/
@ -8,4 +8,6 @@
#pragma pack(pop)
#elif defined(__HP_aCC) || defined(__HP_cc)
#pragma PACK
#elif defined(__MSC_VER) || defined(__BORLANDC__)
#pragma pack(pop)
#endif