Hi,
I'm afraid, this patch will lead to quite some serious problems:
Fixing these issues would require to implement a language-aware
scanner, as discussed in
<https://lists.gnu.org/archive/html/guix-devel/2017-11/msg00022.html>.
Thus I suggest aiming to implement the solution discussed in that thread (see esp. <https://lists.gnu.org/archive/html/guix-devel/2017-11/msg00041.html>.
Beside of this, the patch suffers from some more issues. Sorry to say :-(
BTW: The first analysis in <https://bugs.gnu.org/29824>
was misleading. I commented there.
-- Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible |