summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/cwebdir/cweave.w
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-02-24 18:00:42 +0000
committerKarl Berry <karl@freefriends.org>2021-02-24 18:00:42 +0000
commit12819de5a193a81ba460e12c80e9e5af3d88e8a7 (patch)
treefa3f87dafcc4c8614fa373e364f77826a485ce02 /Build/source/texk/web2c/cwebdir/cweave.w
parent1f8a99f91f89d808a685fb90434693017786a8a6 (diff)
parent3ce790a95a47285842ce11676520c9ebaa3d6d83 (diff)
sync with trunk 57871; starting pretest
git-svn-id: svn://tug.org/texlive/branches/branch2020@57872 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/cwebdir/cweave.w')
-rw-r--r--Build/source/texk/web2c/cwebdir/cweave.w7
1 files changed, 4 insertions, 3 deletions
diff --git a/Build/source/texk/web2c/cwebdir/cweave.w b/Build/source/texk/web2c/cwebdir/cweave.w
index 1a74e7e9fff..2c589a5662b 100644
--- a/Build/source/texk/web2c/cwebdir/cweave.w
+++ b/Build/source/texk/web2c/cwebdir/cweave.w
@@ -99,6 +99,7 @@ char **av@t\2\2@>) /* argument values */
phase_one(); /* read all the user's text and store the cross-references */
phase_two(); /* read all the text again and translate it to \TEX/ form */
phase_three(); /* output the cross-reference index */
+ if (tracing==2 && !show_progress) new_line;
return wrap_up(); /* and exit gracefully */
}
@@ -597,7 +598,7 @@ skip_limbo(void) {
while(true) {
if (loc>limit && get_line()==false) return;
*(limit+1)='@@';
- while (*loc!='@@') loc++; /* look for '@@', then skip two chars */
+ while (*loc!='@@') loc++; /* look for `\.{@@}', then skip two chars */
if (loc++ <=limit) { int c=ccode[(eight_bits)*loc++];
if (c==new_section) return;
if (c==noop) skip_restricted();
@@ -735,7 +736,7 @@ a file name in lines that start with \.{\#include}. We must treat this file
name as a string.
@<Private...@>=
-static boolean sharp_include_line=false; /* are we scanning a |#include| line? */
+static boolean sharp_include_line=false; /* are we scanning a \&{\#include} line? */
@ @<Check if next token is |include|@>=
while (loc<=buffer_end-7 && xisspace(*loc)) loc++;
@@ -844,7 +845,7 @@ convention, but do not allow the string to be longer than |longest_name|.
if (delim=='u' && *loc=='8') { *++id_loc=*loc++; }
delim=*loc++; *++id_loc=delim;
}
- if (delim=='<') delim='>'; /* for file names in |#include| lines */
+ if (delim=='<') delim='>'; /* for file names in \&{\#include} lines */
while (true) {
if (loc>=limit) {
if(*(limit-1)!='\\') {