From dd9e411b3722a6b7361ab4c179028c83e30909c2 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sun, 23 Dec 2018 19:44:30 +0100 Subject: check-ciation-order.pl: Skip comments Signed-off-by: Florian Pritz --- check-ciation-order.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/check-ciation-order.pl b/check-ciation-order.pl index 330c903..55046ad 100755 --- a/check-ciation-order.pl +++ b/check-ciation-order.pl @@ -13,6 +13,7 @@ my %seen; my %output; while (<<>>) { + next if m/^\s*%/; while (m/\\(?citea?)\{(?.*?)\}/g) { my $keys = $+{keys}; my $cmd = $+{cmd}; -- cgit v1.2.3-24-g4f1b