summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/luatexdir/tex
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2016-03-19 12:44:40 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2016-03-19 12:44:40 +0000
commit25cd2a575de1f6ac289ed8045a856e1f5ca03059 (patch)
tree929cb2039cafacfe3bdcbb32184f98581c8ae4be /Build/source/texk/web2c/luatexdir/tex
parent6629ff5643f4d94097e0417a6fdad244c1922638 (diff)
web2c/luatexdir: sync with the upstream
git-svn-id: svn://tug.org/texlive/trunk@40074 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/luatexdir/tex')
-rw-r--r--Build/source/texk/web2c/luatexdir/tex/textoken.w21
1 files changed, 15 insertions, 6 deletions
diff --git a/Build/source/texk/web2c/luatexdir/tex/textoken.w b/Build/source/texk/web2c/luatexdir/tex/textoken.w
index 41c9293336a..9ac21635b3a 100644
--- a/Build/source/texk/web2c/luatexdir/tex/textoken.w
+++ b/Build/source/texk/web2c/luatexdir/tex/textoken.w
@@ -514,15 +514,24 @@ boolean scan_keyword(const char *s)
store_new_token(cur_tok);
k++;
} else if ((cur_cmd != spacer_cmd) || (p != backup_head)) {
+ /*
+ crashes on some alignments:
+
+ if (p != backup_head) {
+ q = get_avail();
+ token_info(q) = cur_tok;
+ token_link(q) = null;
+ token_link(p) = q;
+ begin_token_list(token_link(backup_head), backed_up);
+ } else {
+ back_input();
+ }
+ */
+ back_input();
if (p != backup_head) {
- q = get_avail();
- token_info(q) = cur_tok;
- token_link(q) = null;
- token_link(p) = q;
begin_token_list(token_link(backup_head), backed_up);
- } else {
- back_input();
}
+ /* */
cur_cs = save_cur_cs;
return false;
}