From 68d53c01b0b8e9a007a6a30158c19e34b2d2a34e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Gustavsson?= Date: Wed, 18 May 2016 15:53:35 +0200 Subject: Update STDLIB documentation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Language cleaned up by the technical writers xsipewe and tmanevik from Combitech. Proofreading and corrections by Björn Gustavsson and Hans Bolinder. --- lib/stdlib/doc/src/erl_id_trans.xml | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) (limited to 'lib/stdlib/doc/src/erl_id_trans.xml') diff --git a/lib/stdlib/doc/src/erl_id_trans.xml b/lib/stdlib/doc/src/erl_id_trans.xml index 649490f8b3..16952a9582 100644 --- a/lib/stdlib/doc/src/erl_id_trans.xml +++ b/lib/stdlib/doc/src/erl_id_trans.xml @@ -30,31 +30,32 @@ 1 Bjarne Däcker - 97-01-21 + 1997-01-21 B - erl_id_trans.sgml + erl_id_trans.xml erl_id_trans - An Identity Parse Transform + An identity parse transform.

This module performs an identity parse transformation of Erlang code. - It is included as an example for users who may wish to write their own - parse transformers. If the option {parse_transform,Module} is passed - to the compiler, a user written function parse_transform/2 - is called by the compiler before the code is checked for - errors.

+ It is included as an example for users who wants to write their own + parse transformers. If option {parse_transform,Module} is passed + to the compiler, a user-written function parse_transform/2 + is called by the compiler before the code is checked for errors.

+ parse_transform(Forms, Options) -> Forms - Transform Erlang forms + Transform Erlang forms. Forms = [erl_parse:abstract_form() | erl_parse:form_info()] Options = [compile:option()] -

Performs an identity transformation on Erlang forms, as an example.

+

Performs an identity transformation on Erlang forms, as an example. +

@@ -63,17 +64,17 @@ Parse Transformations

Parse transformations are used if a programmer wants to use Erlang syntax, but with different semantics. The original Erlang - code is then transformed into other Erlang code. -

+ code is then transformed into other Erlang code.

-

Programmers are strongly advised not to engage in parse transformations and no support is offered for problems encountered.

+

Programmers are strongly advised not to engage in parse + transformations. No support is offered for problems encountered.

See Also -

erl_parse(3), - compile(3).

+

erl_parse(3), + compile(3)

-- cgit v1.2.3