diff options
Diffstat (limited to 'Build/source/texk/web2c/luatexdir/tex')
-rw-r--r-- | Build/source/texk/web2c/luatexdir/tex/mathcodes.w | 12 | ||||
-rw-r--r-- | Build/source/texk/web2c/luatexdir/tex/texmath.w | 8 | ||||
-rw-r--r-- | Build/source/texk/web2c/luatexdir/tex/textcodes.w | 20 |
3 files changed, 19 insertions, 21 deletions
diff --git a/Build/source/texk/web2c/luatexdir/tex/mathcodes.w b/Build/source/texk/web2c/luatexdir/tex/mathcodes.w index 4acd887eace..e161af0fe54 100644 --- a/Build/source/texk/web2c/luatexdir/tex/mathcodes.w +++ b/Build/source/texk/web2c/luatexdir/tex/mathcodes.w @@ -193,12 +193,12 @@ static void initializemathcode(void) static void dumpmathcode(void) { - dump_sa_tree(mathcode_head); + dump_sa_tree(mathcode_head,"mathcodes"); } static void undumpmathcode(void) { - mathcode_head = undump_sa_tree(); + mathcode_head = undump_sa_tree("mathcodes"); } @ @c @@ -304,21 +304,19 @@ int get_del_code_num(int n) static void initializedelcode(void) { sa_tree_item sa_value = { 0 }; - /* sa_value.uint_value = DELCODEDEFAULT; */ - sa_value.dump_uint.value_1 = DELCODEDEFAULT; - sa_value.dump_uint.value_2 = 0; + sa_value.uint_value = DELCODEDEFAULT; delcode_head = new_sa_tree(DELCODESTACK, 2, sa_value); } @ @c static void dumpdelcode(void) { - dump_sa_tree(delcode_head); + dump_sa_tree(delcode_head,"delcodes"); } static void undumpdelcode(void) { - delcode_head = undump_sa_tree(); + delcode_head = undump_sa_tree("delcodes"); } @ @c diff --git a/Build/source/texk/web2c/luatexdir/tex/texmath.w b/Build/source/texk/web2c/luatexdir/tex/texmath.w index 661830bb16c..81cfd9cf733 100644 --- a/Build/source/texk/web2c/luatexdir/tex/texmath.w +++ b/Build/source/texk/web2c/luatexdir/tex/texmath.w @@ -330,18 +330,18 @@ void dump_math_data(void) sa_value.int_value = MATHFONTDEFAULT; math_fam_head = new_sa_tree(MATHFONTSTACK, 1, sa_value); } - dump_sa_tree(math_fam_head); + dump_sa_tree(math_fam_head, "mathfonts"); if (math_param_head == NULL) { sa_value.int_value = MATHPARAMDEFAULT; math_param_head = new_sa_tree(MATHPARAMSTACK, 1, sa_value); } - dump_sa_tree(math_param_head); + dump_sa_tree(math_param_head, "mathparameters"); } void undump_math_data(void) { - math_fam_head = undump_sa_tree(); - math_param_head = undump_sa_tree(); + math_fam_head = undump_sa_tree("mathfonts"); + math_param_head = undump_sa_tree("mathparameters"); } @ @c diff --git a/Build/source/texk/web2c/luatexdir/tex/textcodes.w b/Build/source/texk/web2c/luatexdir/tex/textcodes.w index 5868716201b..89e93684132 100644 --- a/Build/source/texk/web2c/luatexdir/tex/textcodes.w +++ b/Build/source/texk/web2c/luatexdir/tex/textcodes.w @@ -98,7 +98,7 @@ static void dumpcatcodes(void) for (k = 0; k <= catcode_max; k++) { if (catcode_valid[k]) { dump_int(k); - dump_sa_tree(catcode_heads[k]); + dump_sa_tree(catcode_heads[k],"catcodes"); } } } @@ -116,7 +116,7 @@ static void undumpcatcodes(void) undump_int(total); for (k = 0; k < total; k++) { undump_int(x); - catcode_heads[x] = undump_sa_tree(); + catcode_heads[x] = undump_sa_tree("catcodes"); catcode_valid[x] = 1; } } @@ -207,12 +207,12 @@ static void initializelccodes(void) static void dumplccodes(void) { - dump_sa_tree(lccode_head); + dump_sa_tree(lccode_head,"lccodes"); } static void undumplccodes(void) { - lccode_head = undump_sa_tree(); + lccode_head = undump_sa_tree("lccodes"); } static void freelccodes(void) @@ -253,12 +253,12 @@ static void initializeuccodes(void) static void dumpuccodes(void) { - dump_sa_tree(uccode_head); + dump_sa_tree(uccode_head,"uccodes"); } static void undumpuccodes(void) { - uccode_head = undump_sa_tree(); + uccode_head = undump_sa_tree("uccodes"); } static void freeuccodes(void) @@ -299,12 +299,12 @@ static void initializesfcodes(void) static void dumpsfcodes(void) { - dump_sa_tree(sfcode_head); + dump_sa_tree(sfcode_head,"sfcodes"); } static void undumpsfcodes(void) { - sfcode_head = undump_sa_tree(); + sfcode_head = undump_sa_tree("sfcodes"); } static void freesfcodes(void) @@ -409,7 +409,7 @@ static void dumphjcodes(void) for (k = 0; k <= hjcode_max; k++) { if (hjcode_valid[k]) { dump_int(k); - dump_sa_tree(hjcode_heads[k]); + dump_sa_tree(hjcode_heads[k],"hjcodes"); } } } @@ -427,7 +427,7 @@ static void undumphjcodes(void) undump_int(total); for (k = 0; k < total; k++) { undump_int(x); - hjcode_heads[x] = undump_sa_tree(); + hjcode_heads[x] = undump_sa_tree("hjcodes"); hjcode_valid[x] = 1; } } |