diff options
Diffstat (limited to 'fixupdiff.pl')
-rw-r--r-- | fixupdiff.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fixupdiff.pl b/fixupdiff.pl index e274d00..f66eaa3 100644 --- a/fixupdiff.pl +++ b/fixupdiff.pl @@ -26,8 +26,8 @@ while (<>) { # As a result, number of \color directives goes does sufficiently # enough to avoid the overflow error. - s/\\DIFdelbegin \\DIFdel\{([^}]*)\}\\DIFdelend/\\DIFdeltext{$1}/; - s/\\DIFaddbegin \\DIFadd\{([^}]*)\}\\DIFaddend/\\DIFaddtext{$1}/; + $line =~ s/\\DIFdelbegin \\DIFdel\{([^}]*)\}\\DIFdelend/\\DIFdeltext{$1}/; + $line =~ s/\\DIFaddbegin \\DIFadd\{([^}]*)\}\\DIFaddend/\\DIFaddtext{$1}/; print $line; if (m/%DIFDELCMD\s+<\s+\\end\{lstlisting\}/) { |