From 26303bd894c1f3c7da3e0252a3e1ea97417f097f Mon Sep 17 00:00:00 2001 From: Lev Walkin Date: Mon, 14 Mar 2016 02:30:52 -0700 Subject: fixed https://github.com/vlm/asn1c/issues/78 --- examples/crfc2asn1.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/crfc2asn1.pl b/examples/crfc2asn1.pl index 0b086f62..5a57f2d0 100755 --- a/examples/crfc2asn1.pl +++ b/examples/crfc2asn1.pl @@ -42,8 +42,8 @@ while(<>) { $modName = $1; $currentFname = $rfcid . $modName . ".asn1"; $inasn = 1; - } elsif(/^[ \t]*([A-Z][A-Za-z0-9-]*).*{[ \t]*iso/ - || /^[ \t]*{[ \t]*iso/) { + } elsif(/^[ \t]*([A-Z][A-Za-z0-9-]*).*{[ \t]*(?:joint-)?iso/ + || /^[ \t]*{[ \t]*(?:joint-)?iso/) { my @a = ($_); $modName = $1; unless(length($modName)) { -- cgit v1.2.3