summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/luatexdir/tex
diff options
context:
space:
mode:
authorLuigi Scarso <luigi.scarso@gmail.com>2019-01-20 23:58:29 +0000
committerLuigi Scarso <luigi.scarso@gmail.com>2019-01-20 23:58:29 +0000
commitbc3a1be2b5557293ac1a95216287279df82b05ab (patch)
treef216eff7b5a3537e803dc9c0b8255b31d8adb131 /Build/source/texk/web2c/luatexdir/tex
parent31268c900d5c42ececed0b7e5e1a918e387a5ef0 (diff)
luatex: patches for pplib. Small cleanup of the code.
git-svn-id: svn://tug.org/texlive/trunk@49776 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/luatexdir/tex')
-rw-r--r--Build/source/texk/web2c/luatexdir/tex/errors.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/luatexdir/tex/errors.c b/Build/source/texk/web2c/luatexdir/tex/errors.c
index b630422ee98..0c64927cea2 100644
--- a/Build/source/texk/web2c/luatexdir/tex/errors.c
+++ b/Build/source/texk/web2c/luatexdir/tex/errors.c
@@ -965,7 +965,8 @@ void normal_warning(const char *t, const char *p)
new_line_char_par = 10;
report_id = callback_defined(show_lua_error_hook_callback);
if (report_id == 0) {
- tprint(p);
+ if (p != NULL)
+ tprint(p);
help2(
"The lua interpreter ran into a problem, so the",
"remainder of this lua chunk will be ignored."