From 852895812646c73f9bac8163e9b34acaeb62d518 Mon Sep 17 00:00:00 2001 From: Hans Bolinder Date: Thu, 28 Mar 2013 13:06:40 +0100 Subject: Document erl_parse:abstract/2 A bug has been fixed: when given the option {encoding,utf8} a list of floating point numbers (in the correct interval) was mistakenly returned as a string. --- lib/stdlib/doc/src/erl_parse.xml | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'lib/stdlib/doc/src/erl_parse.xml') diff --git a/lib/stdlib/doc/src/erl_parse.xml b/lib/stdlib/doc/src/erl_parse.xml index bafc2e0746..56a7131821 100644 --- a/lib/stdlib/doc/src/erl_parse.xml +++ b/lib/stdlib/doc/src/erl_parse.xml @@ -4,7 +4,7 @@
- 19962011 + 19962013 Ericsson AB. All Rights Reserved. @@ -167,6 +167,23 @@

Converts the Erlang data structure Data into an abstract form of type AbsTerm. This is the inverse of normalise/1.

+

erl_parse:abstract(T) is equivalent to + erl_parse:abstract(T, 0).

+ + + + + Convert an Erlang term into an abstract form + +

Converts the Erlang data structure Data into an + abstract form of type AbsTerm.

+

The Line option is the line that will + be assigned to each node of the abstract form.

+

The Encoding option is used for + selecting which integer lists will be considered + as strings. The default is to use the encoding returned by + + epp:default_encoding/0

-- cgit v1.2.3