From 3ce790a95a47285842ce11676520c9ebaa3d6d83 Mon Sep 17 00:00:00 2001 From: Andreas Scherer Date: Wed, 24 Feb 2021 15:20:06 +0000 Subject: [CWEB] Fix spacing for |#include| in TeX comment. git-svn-id: svn://tug.org/texlive/trunk@57871 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/web2c/cwebdir/ChangeLog | 4 ++++ 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,3 +1,7 @@ +2021-02-24 Andreas Scherer + + * cweave.w: Fix spacing for |#include| in TeX comment. + 2021-02-24 Andreas Scherer * common.w, 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. @= -static boolean sharp_include_line=false; /* are we scanning a |#include| line? */ +static boolean sharp_include_line=false; /* are we scanning a \&{\#include} line? */ @ @= 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)!='\\') { -- cgit v1.2.3