From 953b858de46f46f42e2ba45ba30a9b0b278a526d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bj=C3=B6rn=20Gustavsson?=
Date: Mon, 17 Dec 2012 16:25:59 +0100
Subject: Remove the 'inline' and '{inline,OutputFile}' options
---
lib/asn1/doc/src/asn1ct.xml | 24 +-----------------------
1 file changed, 1 insertion(+), 23 deletions(-)
(limited to 'lib/asn1/doc/src/asn1ct.xml')
diff --git a/lib/asn1/doc/src/asn1ct.xml b/lib/asn1/doc/src/asn1ct.xml
index bb3c6a4f0f..7ad4d14610 100644
--- a/lib/asn1/doc/src/asn1ct.xml
+++ b/lib/asn1/doc/src/asn1ct.xml
@@ -65,7 +65,7 @@
Options = [Option| OldOption]
Option = ber | per | uper | der | compact_bit_string |
noobj | {n2n, EnumTypeName} |{outdir, Dir} | {i, IncludeDir} |
- asn1config | undec_rest | {inline, OutputName} | inline |
+ asn1config | undec_rest |
{macro_name_prefix, Prefix} | {record_name_prefix, Prefix} | verbose | warnings_as_errors
OldOption = ber | per
Reason = term()
@@ -233,28 +233,6 @@ Binary = binary()
list or a binary. Earlier versions of the compiler ignored
those following bytes.
- {inline, OutputName}
- -
-
Compiling with this option gives one output module
- containing all asn1 run-time functionality. The asn1 specs
- are provided in a target module Module.set.asn as described
- above. The name of the
- resulting module containing generated encode/decode functions
- and in-lined run-time functions will be
- OutputName.erl. The merging/in-lining of code is done
- by the igor module of syntax_tools. By default
- the functions generated from the first asn1 spec in the
- .set.asn are exported, unless a
- {export, [atom()]} or {export_all, true} option
- are provided. The list of atoms are names of chosen asn1
- specs from the .set.asn file.
-
- inline
- -
-
It is also possible to use the sole argument inline.
- It is as {inline, OutputName}, but the output file gets the
- default name of the source .set.asn file.
-
{macro_name_prefix, Prefix}
-
All macro names generated by the compiler are prefixed with
--
cgit v1.2.3
From 74cee7dc1cc5b0332cd851da4953ebbb98224b5f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bj=C3=B6rn=20Gustavsson?=
Date: Tue, 8 Jan 2013 10:56:27 +0100
Subject: By default, encode BIT STRING to bitstrings
Add the option 'legacy_bit_string' to decode to the old list format.
---
lib/asn1/doc/src/asn1ct.xml | 31 ++++++++++++++++++-------------
1 file changed, 18 insertions(+), 13 deletions(-)
(limited to 'lib/asn1/doc/src/asn1ct.xml')
diff --git a/lib/asn1/doc/src/asn1ct.xml b/lib/asn1/doc/src/asn1ct.xml
index 7ad4d14610..b269276a92 100644
--- a/lib/asn1/doc/src/asn1ct.xml
+++ b/lib/asn1/doc/src/asn1ct.xml
@@ -64,6 +64,7 @@
Asn1module = atom() | string()
Options = [Option| OldOption]
Option = ber | per | uper | der | compact_bit_string |
+ legacy_bit_string |
noobj | {n2n, EnumTypeName} |{outdir, Dir} | {i, IncludeDir} |
asn1config | undec_rest |
{macro_name_prefix, Prefix} | {record_name_prefix, Prefix} | verbose | warnings_as_errors
@@ -154,22 +155,26 @@ File3.asn
compact_bit_string
-
- Makes it possible to use a compact notation for values
- of the BIT STRING type in Erlang. The notation:
+ The BIT STRING type will be decoded to the "compact notation".
+ This option is not recommended for new code.
-
-BitString = {Unused, Binary},
-Unused = integer(),
-Binary = binary()
-
+ For details see
+
+ BIT STRING type section in the Users Guide
+ .
+
+
+ legacy_bit_string
+ -
- Unused must be a number in the range 0 to 7. It
- tells how many bits in the least significant byte in
- Binary that is unused.
- For details see
+ The BIT STRING type will be decoded to the legacy
+ format, i.e. a list of zeroes and ones.
+ This option is not recommended for new code.
+
+ For details see
- BIT STRING type section in users guide
- .
+ BIT STRING type section in the Users Guide
+ .
{n2n, EnumTypeName}
--
cgit v1.2.3