diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2016-02-08 02:32:39 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2016-02-08 02:32:39 +0000 |
commit | 35c9bfa9e8f9d86f0993400e056a27fbcac227c7 (patch) | |
tree | 79ba04f8e56ebad34e3e1c55eece5228b69f3d14 /Build/source/texk/web2c/luatexdir/tex/textoken.w | |
parent | 1a08a039c4fdb9ca26dae638ab0ef389d70443a0 (diff) |
web2c/luatexdir: sync with the upstream
git-svn-id: svn://tug.org/texlive/trunk@39623 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/luatexdir/tex/textoken.w')
-rw-r--r-- | Build/source/texk/web2c/luatexdir/tex/textoken.w | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/Build/source/texk/web2c/luatexdir/tex/textoken.w b/Build/source/texk/web2c/luatexdir/tex/textoken.w index 5b10b1cdd2d..f8fb8b467a0 100644 --- a/Build/source/texk/web2c/luatexdir/tex/textoken.w +++ b/Build/source/texk/web2c/luatexdir/tex/textoken.w @@ -238,10 +238,14 @@ including the expansion of a macro or mark. @c void print_meaning(void) { - if (cur_cmd == math_char_num_cmd && cur_chr == 0) { - /* \mathchar -> \Umathchar */ - cur_chr = 1 ; - } + /* remap \mathchar onto \Umathchar */ + if (cur_cmd == math_given_cmd) { + cur_cmd = xmath_given_cmd ; + } /* else if (cur_cmd == math_char_num_cmd) { + if (cur_chr == 0) { + cur_chr = 1 ; + } + } */ print_cmd_chr((quarterword) cur_cmd, cur_chr); if (cur_cmd >= call_cmd) { print_char(':'); |