[dev-context] Error while updating to new beta
Aditya Mahajan
adityam at umich.edu
Tue Oct 16 00:14:57 CEST 2012
On Mon, 15 Oct 2012, Hans Hagen wrote:
> 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)
Same error. But if I comment the definition of resolvers.prefixes.toppath,
the error goes away.
Aditya
More information about the dev-context
mailing list