diff options
author | Björn Gustavsson <[email protected]> | 2015-04-24 12:18:31 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2015-05-08 10:49:04 +0200 |
commit | 5c9cab4be276b09f9c119f5d678f896b8043f015 (patch) | |
tree | 81ede12bdbbf124e5a0ce53968483eb3a5076e26 /lib | |
parent | e95095457c4d83c02850b811fb28711c0b3d1c23 (diff) | |
download | otp-5c9cab4be276b09f9c119f5d678f896b8043f015.tar.gz otp-5c9cab4be276b09f9c119f5d678f896b8043f015.tar.bz2 otp-5c9cab4be276b09f9c119f5d678f896b8043f015.zip |
asn1_spec: Correct obsolete details about compiler options
There is now only one BER back-end, and there is no 'optimize'
option.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/asn1/doc/src/asn1_spec.xmlsrc | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/lib/asn1/doc/src/asn1_spec.xmlsrc b/lib/asn1/doc/src/asn1_spec.xmlsrc index 5bee9f0075..e050dff553 100644 --- a/lib/asn1/doc/src/asn1_spec.xmlsrc +++ b/lib/asn1/doc/src/asn1_spec.xmlsrc @@ -46,13 +46,8 @@ <item><em>Exclusive decode</em></item> <item><em>Selected decode</em></item> </list> - <p>So far this functionality is only provided when using the - optimized <c>BER_BIN</c> version, that is, when compiling with - options <c>ber_bin</c> and <c>optimize</c>. It also works - with option<c>nif</c>. We do not intent to make this functionality - available in the default <c>BER</c> version, but possibly in the - <c>PER_BIN</c> version (<c>per_bin</c>). - </p> + <p>This functionality is only provided when using <c>BER</c> + (option <c>ber</c>).</p> <section> <title>Exclusive Decode</title> @@ -213,9 +208,9 @@ Name = atom()</pre> <p>Compiling <c>GUI.asn</c> including the configuration file is done as follows:</p> <pre> -unix> erlc -bber_bin +optimize +asn1config GUI.asn +unix> erlc -bber +asn1config GUI.asn -erlang> asn1ct:compile('GUI',[ber_bin,optimize,asn1config]).</pre> +erlang> asn1ct:compile('GUI', [ber,asn1config]).</pre> <p>The module can be used as follows:</p> <pre> 1> Button_Msg = {'Button',123,true}. |