x86_64-xlate.pl: minor update.
authorAndy Polyakov <appro@openssl.org>
Mon, 9 Dec 2013 20:23:19 +0000 (21:23 +0100)
committerAndy Polyakov <appro@openssl.org>
Mon, 9 Dec 2013 20:23:19 +0000 (21:23 +0100)
crypto/perlasm/x86_64-xlate.pl

index bd165b152b833a157221af4df1e47554f80e4cec..ed74b85ac96a40db973f952c52e6adbafe23b982 100755 (executable)
@@ -834,6 +834,7 @@ while($line=<>) {
     $line =~ s|[#!].*$||;      # get rid of asm-style comments...
     $line =~ s|/\*.*\*/||;     # ... and C-style comments...
     $line =~ s|^\s+||;         # ... and skip white spaces in beginning
+    $line =~ s|\s+$||;         # ... and at the end
 
     undef $label;
     undef $opcode;