Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
luatex
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TeXLive
luatex
Commits
f4e97def
Commit
f4e97def
authored
9 years ago
by
Luigi Scarso
Browse files
Options
Downloads
Patches
Plain Diff
fix prev pointer mess up in pseudo lines/files (HH)
parent
4f0bc08c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
source/texk/web2c/luatexdir/luatex.c
+4
-4
4 additions, 4 deletions
source/texk/web2c/luatexdir/luatex.c
source/texk/web2c/luatexdir/tex/inputstack.w
+12
-4
12 additions, 4 deletions
source/texk/web2c/luatexdir/tex/inputstack.w
with
16 additions
and
8 deletions
source/texk/web2c/luatexdir/luatex.c
+
4
−
4
View file @
f4e97def
...
...
@@ -28,10 +28,10 @@
#define TeX
int
luatex_version
=
8
7
;
/* \.{\\luatexversion} */
int
luatex_revision
=
'
2
'
;
/* \.{\\luatexrevision} */
int
luatex_date_info
=
2016011
1
00
;
/* the compile date is now hardwired */
const
char
*
luatex_version_string
=
"beta-0.8
7.2
"
;
int
luatex_version
=
8
8
;
/* \.{\\luatexversion} */
int
luatex_revision
=
'
0
'
;
/* \.{\\luatexrevision} */
int
luatex_date_info
=
2016011
5
00
;
/* the compile date is now hardwired */
const
char
*
luatex_version_string
=
"beta-0.8
8.0
"
;
const
char
*
engine_name
=
my_name
;
/* the name of this engine */
#include
<kpathsea/c-ctype.h>
...
...
This diff is collapsed.
Click to expand it.
source/texk/web2c/luatexdir/tex/inputstack.w
+
12
−
4
View file @
f4e97def
...
...
@@ -662,6 +662,15 @@ a linked list of variable size nodes representing lines not yet
processed: the |subtype| field contains the size of this node,
all the following words contain ASCII codes.
/*
hh: todo: if this is really critical code (which it isn
'
t
)
then
we
can
consider
a
c
stack
and
store
a
pointer
to
a
line
in
the
line
node
instead
which
saves
splitting
here
and
reconstructing
later
.
*/
@c
halfword
pseudo_files
;
/* stack of pseudo files */
...
...
@@ -696,13 +705,12 @@ static halfword string_to_pseudo(str_number str, int nl)
w.b2 = (quarterword) (l > m ? s[m++] : ' ');
w.b3 = (quarterword) (l > m ? s[m] : ' ');
varmem[++i].qqqq = w;
if (
pseudo_lines(h)
== null) {
if (
q
== null) {
pseudo_lines(h) = r;
q = r;
} else {
couple_nodes
(q, r);
vlink(q) = r ; /* no prev node here so no
couple_nodes
!*/
}
q =
vlink(q)
;
q =
r
;
if (s[l] == nl)
l++;
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment