Commit 1a900ebf authored by Mouse's avatar Mouse

Enabled switch "-uper" with the same semantic meaning as "-per" for

converter-example.c.
parent 03464813
......@@ -146,6 +146,8 @@ static syntax_selector input_encodings[] = {
"Input is in OER (Octet Encoding Rules)"},
{"per", ATS_UNALIGNED_BASIC_PER, CODEC_OFFSET(uper_decoder),
"Input is in Unaligned PER (Packed Encoding Rules)"},
{"uper", ATS_UNALIGNED_BASIC_PER, CODEC_OFFSET(uper_decoder),
"Input is in Unaligned PER (Packed Encoding Rules)"},
{"aper", ATS_ALIGNED_BASIC_PER, CODEC_OFFSET(aper_decoder),
"Input is in Aligned PER (Packed Encoding Rules)"},
{"xer", ATS_BASIC_XER, CODEC_OFFSET(xer_decoder),
......@@ -159,6 +161,8 @@ static syntax_selector output_encodings[] = {
"Output as Canonical OER (Octet Encoding Rules)"},
{"per", ATS_UNALIGNED_CANONICAL_PER, CODEC_OFFSET(uper_encoder),
"Output as Unaligned PER (Packed Encoding Rules)"},
{"uper", ATS_UNALIGNED_CANONICAL_PER, CODEC_OFFSET(uper_encoder),
"Output as Unaligned PER (Packed Encoding Rules)"},
{"aper", ATS_ALIGNED_CANONICAL_PER, CODEC_OFFSET(aper_encoder),
"Output as Aligned PER (Packed Encoding Rules)"},
{"xer", ATS_BASIC_XER, CODEC_OFFSET(xer_encoder),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment