[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#17715: [PATCH] dfa: build struct dfamust on demand
From: |
Jim Meyering |
Subject: |
bug#17715: [PATCH] dfa: build struct dfamust on demand |
Date: |
Sat, 4 Jul 2015 14:51:57 -0700 |
On Sat, Jul 4, 2015 at 1:43 PM, Paul Eggert <address@hidden> wrote:
> Thanks for looking into this.
>
> One little thing I noticed while reading that patch. dfaalloc could be
> declared with _GL_ATTRIBUTE_MALLOC; this is true both before and after the
> patch is applied. I don't know if it's worth bothering to declaring it that
> way, though, as I doubt it'd improve the quality of the generated code.
> Plus, _GL_ATTRIBUTE_MALLOC isn't visible in dfa.h now.
Good idea. I prefer to add it, on principle.
To permit that change, I'll move the inclusion of xalloc.h --
the header that defines it -- from dfa.c to dfa.h.