summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/cwebdir
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/web2c/cwebdir')
-rw-r--r--Build/source/texk/web2c/cwebdir/ChangeLog4
-rw-r--r--Build/source/texk/web2c/cwebdir/cweave.w4
2 files changed, 6 insertions, 2 deletions
diff --git a/Build/source/texk/web2c/cwebdir/ChangeLog b/Build/source/texk/web2c/cwebdir/ChangeLog
index d873c6244fe..37db3501d51 100644
--- a/Build/source/texk/web2c/cwebdir/ChangeLog
+++ b/Build/source/texk/web2c/cwebdir/ChangeLog
@@ -1,5 +1,9 @@
2021-02-24 Andreas Scherer <https://ascherer.github.io>
+ * cweave.w: Fix spacing for |#include| in TeX comment.
+
+2021-02-24 Andreas Scherer <https://ascherer.github.io>
+
* common.w,
* ctangle.w,
* cweave.w: Fine print for single '@' characters in TeX text.
diff --git a/Build/source/texk/web2c/cwebdir/cweave.w b/Build/source/texk/web2c/cwebdir/cweave.w
index 27ec6ca75a3..2c589a5662b 100644
--- a/Build/source/texk/web2c/cwebdir/cweave.w
+++ b/Build/source/texk/web2c/cwebdir/cweave.w
@@ -736,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++;
@@ -845,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)!='\\') {