From 4804f72d73d764f3320742348273bd2b98d7f306 Mon Sep 17 00:00:00 2001 From: Philipp Gesang Date: Fri, 17 May 2013 17:55:38 +0200 Subject: reintroduce checks for prototype validity --- luatexbase-attr.dtx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/luatexbase-attr.dtx b/luatexbase-attr.dtx index 638cd31..5b7288f 100644 --- a/luatexbase-attr.dtx +++ b/luatexbase-attr.dtx @@ -535,7 +535,7 @@ local new_user_whatsit = function (req, package) id = new_user_whatsit_id(req, package) whatsit = newnode(whatsit_t, user_defined_t) whatsit.user_id = id - else -- node + elseif req.id == whatsit_t and req.subtype == user_defined_t then id = req.user_id whatsit = copynode(req) if not whatsit_ids[id] then -- cgit v1.2.3