summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2004-11-30 13:02:16 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2004-11-30 13:02:16 +0000
commit23f1b5c33b8efaff2ad0117faec6cd90c54000cb (patch)
tree5a254ca04e41c210a361fb6dc338d93bf9956a62
parent41dc7f24e0ff6dd681483ffec6cca8db96aae038 (diff)
downloadperl-23f1b5c33b8efaff2ad0117faec6cd90c54000cb.tar.gz
Protection against trailing spaces in embed.fnc
p4raw-id: //depot/perl@23568
-rw-r--r--autodoc.pl1
-rwxr-xr-xembed.pl1
2 files changed, 2 insertions, 0 deletions
diff --git a/autodoc.pl b/autodoc.pl
index 5e7b3c289d..c10640835d 100644
--- a/autodoc.pl
+++ b/autodoc.pl
@@ -45,6 +45,7 @@ sub walk_table (&@) {
$_ .= <IN>;
chomp;
}
+ s/\s+$//;
my @args;
if (/^\s*(#|$)/) {
@args = $_;
diff --git a/embed.pl b/embed.pl
index 0a878d6ddc..30cc3adbe0 100755
--- a/embed.pl
+++ b/embed.pl
@@ -107,6 +107,7 @@ sub walk_table (&@) {
$_ .= <IN>;
chomp;
}
+ s/\s+$//;
my @args;
if (/^\s*(#|$)/) {
@args = $_;