[EMAIL PROTECTED] (Michael Geng) wrote:
...
> I think emitting into a .h file would be a good solution. But wouldn't
> it then be better to directly add a genparse file (e.g. ls.gp) instead of
> extracting it from ls.c? ls.c would no longer have to be modified then.

The disadvantage is that there would then be bits of code in ls.gp
that depends on declarations in ls.c.  I.e., "static", file-scoped
variables in ls.c would now also appear in ls.gp.  That is too distant
for my taste.  That would also add ~100 more version-controlled *.gp
"source" files.


_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to