From 2f229562fad26352a346f846d23d803818581197 Mon Sep 17 00:00:00 2001
From: Philipp Gesang <phg42.2a@gmail.com>
Date: Tue, 16 Apr 2013 04:44:22 +0200
Subject: begin attribute allocation at 255

luaotfload will allocate attributes from 127 but never exceed 254.
This patch prevents attribute clashes by offsetting the allocation of
new attributes by 255.
---
 luatexbase-attr.dtx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'luatexbase-attr.dtx')

diff --git a/luatexbase-attr.dtx b/luatexbase-attr.dtx
index 923ad97..86470b2 100644
--- a/luatexbase-attr.dtx
+++ b/luatexbase-attr.dtx
@@ -357,7 +357,7 @@ attributes = {}
 %    doesn't seem bad to ``loose'' one item in order to avoid this problem.
 %
 %    \begin{macrocode}
-local last_alloc = 0
+local last_alloc = 255
 function new_attribute(name, silent)
     if last_alloc >= 65535 then
         if silent then
-- 
cgit v1.2.3

