*** empty log message ***

This commit is contained in:
2007-02-04 08:01:52 +00:00
parent 545566631d
commit 3cbbc1b5bb
5 changed files with 101 additions and 15 deletions

View File

@ -1,5 +1,5 @@
/*
* $Id: rex.c,v 1.58 2007-02-04 05:34:36 bacon Exp $
* $Id: rex.c,v 1.59 2007-02-04 07:56:37 bacon Exp $
*
* {License}
*/
@ -532,17 +532,6 @@ static int __build_atom (__builder_t* builder)
if (builder->ptn.curc.type == CT_EOF) return 0;
if (builder->ptn.curc.type == CT_SPECIAL &&
builder->ptn.curc.value == ASE_T(')'))
{
/* due to the character reader, the right parenthesis
* is returned as a special character at the top level.
* however, it doesn't have to be special if not following
* the left parenthesis. so the coversion is performed
* here. i believe, this approach is fairly ugly */
builder->ptn.curc.type = CT_NORMAL;
}
if (builder->ptn.curc.type == CT_SPECIAL)
{
if (builder->ptn.curc.value == ASE_T('('))