summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/luatexdir/utils
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2015-11-14 00:48:08 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2015-11-14 00:48:08 +0000
commit64322869cd45fa0029198b6ef544363a0cf49eb6 (patch)
treefaa34b755a1bd7b9b5ca4a66d204deebf841d119 /Build/source/texk/web2c/luatexdir/utils
parent6d37525a79984eea934633c34944113831e3fecb (diff)
web2c/luatexdir: Sync with the upstream trunk.
git-svn-id: svn://tug.org/texlive/trunk@38844 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/luatexdir/utils')
-rw-r--r--Build/source/texk/web2c/luatexdir/utils/utils.w12
1 files changed, 6 insertions, 6 deletions
diff --git a/Build/source/texk/web2c/luatexdir/utils/utils.w b/Build/source/texk/web2c/luatexdir/utils/utils.w
index 131ee3b6bc2..75bd143ef44 100644
--- a/Build/source/texk/web2c/luatexdir/utils/utils.w
+++ b/Build/source/texk/web2c/luatexdir/utils/utils.w
@@ -135,7 +135,7 @@ void tex_printf(const char *fmt, ...)
current implementation it appears that error messages are misleading,
possibly because pool overflows are detected too late.
- The output format of this fuction must be the same as |pdf_error| in
+ The output format of this fuction must be the same as |normal_error| in
pdftex.web!
@c
@@ -166,7 +166,7 @@ void luatex_fail(const char *fmt, ...)
}
}
-@ The output format of this fuction must be the same as |pdf_warn| in
+@ The output format of this fuction must be the same as |normal_warn| in
pdftex.web!
@c
__attribute__ ((format(printf, 1, 2)))
@@ -177,7 +177,7 @@ void luatex_warn(const char *fmt, ...)
va_start(args, fmt);
selector = term_and_log;
print_ln();
- tex_printf("LuaTeX warning");
+ tex_printf("warning");
if (cur_file_name)
tex_printf(" (file %s)", cur_file_name);
tex_printf(": ");
@@ -239,7 +239,7 @@ scaled ext_xn_over_d(scaled x, scaled n, scaled d)
else
r -= 0.5;
if (r >= (double) max_integer || r <= -(double) max_integer)
- luatex_warn("arithmetic: number too big");
+ luatex_warn("arithmetic number too big");
return (scaled) r;
}
@@ -373,9 +373,9 @@ scaled divide_scaled(scaled s, scaled m, int dd)
m = -m;
}
if (m == 0) {
- pdf_error("arithmetic", "divided by zero");
+ normal_error("arithmetic", "divided by zero");
} else if (m >= (max_integer / 10)) {
- pdf_error("arithmetic", "number too big");
+ normal_error("arithmetic", "number too big");
}
q = s / m;
r = s % m;