From 5c9cab4be276b09f9c119f5d678f896b8043f015 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Gustavsson?= Date: Fri, 24 Apr 2015 12:18:31 +0200 Subject: asn1_spec: Correct obsolete details about compiler options There is now only one BER back-end, and there is no 'optimize' option. --- lib/asn1/doc/src/asn1_spec.xmlsrc | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'lib') 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 @@ Exclusive decode Selected decode -

So far this functionality is only provided when using the - optimized BER_BIN version, that is, when compiling with - options ber_bin and optimize. It also works - with optionnif. We do not intent to make this functionality - available in the default BER version, but possibly in the - PER_BIN version (per_bin). -

+

This functionality is only provided when using BER + (option ber).

Exclusive Decode @@ -213,9 +208,9 @@ Name = atom()

Compiling GUI.asn including the configuration file is done as follows:

-unix> erlc -bber_bin +optimize +asn1config GUI.asn
+unix> erlc -bber +asn1config GUI.asn
 
-erlang> asn1ct:compile('GUI',[ber_bin,optimize,asn1config]).
+erlang> asn1ct:compile('GUI', [ber,asn1config]).

The module can be used as follows:

 1> Button_Msg = {'Button',123,true}.
-- 
cgit v1.2.3