*** empty log message ***

This commit is contained in:
hyung-hwan 2007-03-01 07:48:51 +00:00
parent b139683413
commit d6a725f4c8
4 changed files with 12 additions and 13 deletions

View File

@ -1,5 +1,5 @@
/* /*
* $Id: rex.c,v 1.75 2007-03-01 07:43:54 bacon Exp $ * $Id: rex.c,v 1.76 2007-03-01 07:48:51 bacon Exp $
* *
* {License} * {License}
*/ */
@ -434,7 +434,7 @@ static int __build_pattern0 (builder_t* builder)
{ {
ase_size_t zero = 0; ase_size_t zero = 0;
ase_size_t old_size; ase_size_t old_size;
ase_size_t pos_nb, pos_el; ase_size_t pos_nb;
rhdr_t* rhdr; rhdr_t* rhdr;
int n; int n;
@ -443,8 +443,6 @@ static int __build_pattern0 (builder_t* builder)
/* secure space for header and set the header fields to zero */ /* secure space for header and set the header fields to zero */
pos_nb = builder->code.size; pos_nb = builder->code.size;
ADD_CODE (builder, &zero, ASE_SIZEOF(zero)); ADD_CODE (builder, &zero, ASE_SIZEOF(zero));
pos_el = builder->code.size;
ADD_CODE (builder, &zero, ASE_SIZEOF(zero)); ADD_CODE (builder, &zero, ASE_SIZEOF(zero));
/* handle the first branch */ /* handle the first branch */
@ -490,7 +488,7 @@ static int __build_branch (builder_t* builder)
int n; int n;
ase_size_t zero = 0; ase_size_t zero = 0;
ase_size_t old_size; ase_size_t old_size;
ase_size_t pos_na, pos_bl; ase_size_t pos_na;
code_t* cmd; code_t* cmd;
bhdr_t* bhdr; bhdr_t* bhdr;
@ -498,8 +496,6 @@ static int __build_branch (builder_t* builder)
pos_na = builder->code.size; pos_na = builder->code.size;
ADD_CODE (builder, &zero, ASE_SIZEOF(zero)); ADD_CODE (builder, &zero, ASE_SIZEOF(zero));
pos_bl = builder->code.size;
ADD_CODE (builder, &zero, ASE_SIZEOF(zero)); ADD_CODE (builder, &zero, ASE_SIZEOF(zero));
while (1) while (1)
@ -644,15 +640,13 @@ static int __build_charset (builder_t* builder, code_t* cmd)
{ {
ase_size_t zero = 0; ase_size_t zero = 0;
ase_size_t old_size; ase_size_t old_size;
ase_size_t pos_csc, pos_csl; ase_size_t pos_csc;
cshdr_t* cshdr; cshdr_t* cshdr;
old_size = builder->code.size; old_size = builder->code.size;
pos_csc = builder->code.size; pos_csc = builder->code.size;
ADD_CODE (builder, &zero, ASE_SIZEOF(zero)); ADD_CODE (builder, &zero, ASE_SIZEOF(zero));
pos_csl = builder->code.size;
ADD_CODE (builder, &zero, ASE_SIZEOF(zero)); ADD_CODE (builder, &zero, ASE_SIZEOF(zero));
if (builder->ptn.curc.type == CT_NORMAL && if (builder->ptn.curc.type == CT_NORMAL &&

View File

@ -1,5 +1,5 @@
/* /*
* $Id: pack.h,v 1.5 2007-02-23 10:33:20 bacon Exp $ * $Id: pack.h,v 1.6 2007-03-01 07:44:58 bacon Exp $
* *
* {License} * {License}
*/ */
@ -12,4 +12,6 @@
#pragma pack(push,1) #pragma pack(push,1)
#elif defined(__DECC) #elif defined(__DECC)
#pragma pack(push,1) #pragma pack(push,1)
#else
#pragma pack(1)
#endif #endif

View File

@ -10,7 +10,8 @@
for (i = 1; i <= NF; i++) freq[$i]++; for (i = 1; i <= NF; i++) freq[$i]++;
} }
#/[^kkka-bcx-dd-y]|abc|def/
END { END {
for (word in freq) for (word in freq)
print word, freq[word]; print word, freq[word];

View File

@ -1,5 +1,5 @@
/* /*
* $Id: unpack.h,v 1.5 2007-02-23 10:33:20 bacon Exp $ * $Id: unpack.h,v 1.6 2007-03-01 07:44:58 bacon Exp $
* *
* {License} * {License}
*/ */
@ -12,4 +12,6 @@
#pragma pack(pop) #pragma pack(pop)
#elif defined(__DECC) #elif defined(__DECC)
#pragma pack(pop) #pragma pack(pop)
#else
#pragma pack()
#endif #endif