diff options
author | Andreas Scherer <andreas_tex@freenet.de> | 2021-02-24 15:20:06 +0000 |
---|---|---|
committer | Andreas Scherer <andreas_tex@freenet.de> | 2021-02-24 15:20:06 +0000 |
commit | 3ce790a95a47285842ce11676520c9ebaa3d6d83 (patch) | |
tree | fa3f87dafcc4c8614fa373e364f77826a485ce02 /Build/source/texk/web2c/cwebdir | |
parent | 8bafa5e975dfea96d4a5ee575206e38c7199399b (diff) |
[CWEB] Fix spacing for |#include| in TeX comment.
git-svn-id: svn://tug.org/texlive/trunk@57871 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/cwebdir')
-rw-r--r-- | Build/source/texk/web2c/cwebdir/ChangeLog | 4 | ||||
-rw-r--r-- | Build/source/texk/web2c/cwebdir/cweave.w | 4 |
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)!='\\') { |