aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorLev Walkin <vlm@lionet.info>2016-03-14 02:30:52 -0700
committerLev Walkin <vlm@lionet.info>2016-03-14 02:30:52 -0700
commit26303bd894c1f3c7da3e0252a3e1ea97417f097f (patch)
treefe28b1ea69d96eebda006ab203b579a05bd4349b /examples
parent034ee194f4d7d4b760cd5e0808a124d2b5ee005f (diff)
fixed https://github.com/vlm/asn1c/issues/78
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/crfc2asn1.pl4
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)) {