On Mon, Jan 23, 2006 at 10:39:19PM +0100, Marcin Dalecki wrote:
> 
> Inside genautomata.c there is a function gen_regexp_el(). It's  
> allocating
> a regexp_t by calling create_node(). However the code looks like:
> 
>   else if (strcmp (str, NOTHING_NAME) == 0)
>     {
>       regexp = create_node (sizeof (struct decl));
>       regexp->mode = rm_nothing;
>     }
>   else
>     {
>       regexp = create_node (sizeof (struct decl));
>       regexp->mode = rm_unit;
>       REGEXP_UNIT (regexp)->name = str;
>     }
> 
> This looks at last dubious.

I'm not seeing the problem.  Could you explain a bit more? (The
instant problem is something else, but I could easily believe
there's a bug here too.)

Reply via email to