Re: dllobject/libobject
Bram Moolenaar <[email protected]>
| Newsgroups | gmane.comp.tools.aap.devel |
|---|---|
| Message-ID | <[email protected]> |
Lars Ivar Igesund wrote: > Another problem have surfaced though, and that's the object > suffixes. I guess they are now defined in the wrong scope, at > least it's the suffixes from default.aap that's used. Which scope > must be used for src2obj to find them? The $D_OBJSUF and friends are used when processing the ":program" command. Thus they must be in a scope that is searched then. The scope of the D module you added is not searched. I think the simplest is to explicitly mention the top scope: _top.D_OBJSUF = $OBJSUF _top.D_DLLOBJSUF = $OBJSUF _top.D_LIBOBJSUF = $OBJSUF _top.D_LTOBJSUF = $OBJSUF I haven't verified this! -- How To Keep A Healthy Level Of Insanity: 7. Finish all your sentences with "in accordance with the prophecy". /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// Creator of Vim - Vi IMproved -- http://www.Vim.org \\\ \\\ Project leader for A-A-P -- http://www.A-A-P.org /// \\\ Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html /// ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf