From patchwork Sat Oct 14 20:35:16 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [2/8] Strip out lines starting with '#' even if they have leading spaces X-Patchwork-Submitter: =?utf-8?q?Martin_Storsj=C3=B6?= X-Patchwork-Id: 63938 Message-Id: <1508013322-19428-2-git-send-email-martin@martin.st> To: libav-devel@libav.org Date: Sat, 14 Oct 2017 23:35:16 +0300 From: Martin Storsjo List-Id: libav development --- gas-preprocessor.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gas-preprocessor.pl b/gas-preprocessor.pl index 6aae65d..2c9cd07 100755 --- a/gas-preprocessor.pl +++ b/gas-preprocessor.pl @@ -269,7 +269,7 @@ while () { # the line indicates a comment for all supported archs (aarch64, arm, ppc # and x86). Also strips line number comments but since they are off anyway # it is no loss. - s/^#.*$//; + s/^\s*#.*$//; # remove all comments (to avoid interfering with evaluating directives) s/(?