summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Udaltsov <sergey.udaltsov@gmail.com>2018-01-16 01:17:29 +0000
committerSergey Udaltsov <sergey.udaltsov@gmail.com>2018-01-16 01:17:29 +0000
commitf734a19420ab6d37dee51c6ace7d6b6aeb85f967 (patch)
treec3613da7b7e50ebf9489e74d9057afe2b3f229ec
parent83982bd6a08758a9858bed255ae8a65f8c7ce315 (diff)
more robust comment handling
-rwxr-xr-xtests/genLists4Comparizon.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/genLists4Comparizon.sh b/tests/genLists4Comparizon.sh
index 609b2da1..5dac14ef 100755
--- a/tests/genLists4Comparizon.sh
+++ b/tests/genLists4Comparizon.sh
@@ -28,6 +28,9 @@ for i in $ROOT/symbols/*; do
id = ENVIRON["id"];
isDefault = 0;
}
+/^[[:space:]]*\/\//{
+ next
+}
/.*default.*/{
isDefault = 1;
}