[dev-context] Error while updating to new beta

Hans Hagen pragma at wxs.nl
Mon Oct 15 23:54:49 CEST 2012


On 15-10-2012 23:16, Aditya Mahajan wrote:
> Hi,
>
> When compiling the format in the new beta, I get the following error:

weird: I've added this to core-job

local function toppath()
     local pathname = dirname(inputstack[#inputstack] or "")
     if pathname == "" then
         return "."
     else
         return pathname
     end
end

resolvers.toppath = topath

resolvers.prefixes.toppath = function(str)
     return cleanpath(joinpath(toppath(),str))
end

local function process(what,name)
     local depth = #typestack
     local process
     --
     name = resolvers.resolve(name)

but that should be harmless. (On my machine the format is made.)

What if you comment

     name = resolvers.resolve(name)

As it's only used in component etc code I wonder why it influences the 
format making

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the dev-context mailing list