Module: gas-preprocessor Branch: master Commit: 8a2ea3024aebb9ce7131dd0dc407192367f6be03
Author: Martin Storsjo <[email protected]> Committer: Martin Storsjo <[email protected]> Date: Fri Oct 13 11:12:35 2017 +0300 Strip out lines starting with '#' even if they have leading spaces --- 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 (<INPUT>) { # 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/(?<!\\)$inputcomm.*//x; # Strip out windows linefeeds _______________________________________________ libav-commits mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-commits
