diff options
author | Lev Walkin <vlm@lionet.info> | 2016-03-14 02:30:52 -0700 |
---|---|---|
committer | Lev Walkin <vlm@lionet.info> | 2016-03-14 02:30:52 -0700 |
commit | 26303bd894c1f3c7da3e0252a3e1ea97417f097f (patch) | |
tree | fe28b1ea69d96eebda006ab203b579a05bd4349b | |
parent | 034ee194f4d7d4b760cd5e0808a124d2b5ee005f (diff) |
fixed https://github.com/vlm/asn1c/issues/78
-rwxr-xr-x | examples/crfc2asn1.pl | 4 |
1 files 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)) { |