help-flex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bug(s) in 2.5.19 skel.c


From: Bruce Lilly
Subject: Re: bug(s) in 2.5.19 skel.c
Date: Sun, 15 Sep 2002 13:39:35 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020529

A simpler and more effective alternative (since)
only a few elements of the struct need to be
initialized to something other thsn zero) would
be either:
1. use calloc rather than malloc
or
2. use memset() after malloc.
Then yy_init_globals only has to take care of
the elements that need to be initialized to non-xero
values.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]