summaryrefslogtreecommitdiff
path: root/Build/source
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source')
-rw-r--r--Build/source/texk/web2c/luatexdir/ChangeLog4
-rw-r--r--Build/source/texk/web2c/luatexdir/tex/texnodes.w11
2 files changed, 10 insertions, 5 deletions
diff --git a/Build/source/texk/web2c/luatexdir/ChangeLog b/Build/source/texk/web2c/luatexdir/ChangeLog
index 228955a9e06..aae9042f221 100644
--- a/Build/source/texk/web2c/luatexdir/ChangeLog
+++ b/Build/source/texk/web2c/luatexdir/ChangeLog
@@ -1,3 +1,7 @@
+2014-12-18 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
+
+ * tex/texnodes.w: Sync with the upstream. Luigi makes minor changes.
+
2014-12-17 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
* tex/texnodes.w: Sync with the upstream.
diff --git a/Build/source/texk/web2c/luatexdir/tex/texnodes.w b/Build/source/texk/web2c/luatexdir/tex/texnodes.w
index f868c9d251f..3670fcee9d1 100644
--- a/Build/source/texk/web2c/luatexdir/tex/texnodes.w
+++ b/Build/source/texk/web2c/luatexdir/tex/texnodes.w
@@ -19,7 +19,7 @@
@ @c
static const char _svn_version[] =
- "$Id: texnodes.w 5107 2014-12-17 09:09:38Z luigi $"
+ "$Id: texnodes.w 5109 2014-12-17 10:41:30Z luigi $"
"$URL: https://foundry.supelec.fr/svn/luatex/trunk/source/texk/web2c/luatexdir/tex/texnodes.w $";
#include "ptexlib.h"
@@ -2146,6 +2146,10 @@ static halfword new_attribute_node(unsigned int i, int v)
type(r) = attribute_node;
attribute_id(r) = (halfword) i;
attribute_value(r) = v;
+ /* not used but nicer in print */
+ subtype(r) = 0;
+ alink(r) = null;
+ /* we only have forward links */
return r;
}
@@ -2290,7 +2294,7 @@ void set_attribute(halfword n, int i, int val)
vlink(node_attr(n)) = p;
return;
}
- /* we check if we have this attribute already and quite if the value stays the same */
+ /* we check if we have this attribute already and quit if the value stays the same */
assert(vlink(p) != null);
while (vlink(p) != null) {
int t = attribute_id(vlink(p));
@@ -2346,9 +2350,6 @@ void set_attribute(halfword n, int i, int val)
}
-
-
-
@ @c
int unset_attribute(halfword n, int i, int val)
{