From 05ecb863d08ab49176cd9c1159a5b5dbebcb23ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Gustavsson?= Date: Wed, 11 Jan 2017 14:46:54 +0100 Subject: Say that features after R13A are mentioned in the text The text mentions any changes that occurred in R7A and later. Change that to only mention changes that occurred after R12B. --- system/doc/reference_manual/introduction.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/system/doc/reference_manual/introduction.xml b/system/doc/reference_manual/introduction.xml index abb4ed407d..5701462443 100644 --- a/system/doc/reference_manual/introduction.xml +++ b/system/doc/reference_manual/introduction.xml @@ -80,8 +80,8 @@ A list is any number of items. For example, an argument list can consist of zero, one, or more arguments. -

If a feature has been added recently, in Erlang 5.0/OTP R7 or - later, this is mentioned in the text.

+

If a feature has been added in R13A or later, + this is mentioned in the text.

-- cgit v1.2.3 From 19034aa8c9e9c1b24b91f4e1a73b9b09ffe1c92c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Gustavsson?= Date: Wed, 11 Jan 2017 14:38:12 +0100 Subject: data_types.xml: Remove superfluous reference to R9B --- system/doc/reference_manual/data_types.xml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/system/doc/reference_manual/data_types.xml b/system/doc/reference_manual/data_types.xml index e63825b97d..107e403903 100644 --- a/system/doc/reference_manual/data_types.xml +++ b/system/doc/reference_manual/data_types.xml @@ -50,10 +50,7 @@ base#value

Integer with the base base, that must be an - integer in the range 2..36.

- - In Erlang 5.2/OTP R9B and earlier versions, the allowed range - is 2..16.
+ integer in the range 2..36.

Examples:

-- 
cgit v1.2.3


From aff9b4210d0bbc151a1611e260417b0d76ee4a8d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bj=C3=B6rn=20Gustavsson?= 
Date: Wed, 11 Jan 2017 14:41:34 +0100
Subject: errors.xml: Remove superfluous references to R10B

---
 system/doc/reference_manual/errors.xml | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/system/doc/reference_manual/errors.xml b/system/doc/reference_manual/errors.xml
index e764cf431f..3e2d306561 100644
--- a/system/doc/reference_manual/errors.xml
+++ b/system/doc/reference_manual/errors.xml
@@ -49,8 +49,7 @@
       The Erlang programming language has built-in features for
       handling of run-time errors.

A run-time error can also be emulated by calling - erlang:error(Reason) or erlang:error(Reason, Args) - (those appeared in Erlang 5.4/OTP-R10).

+ erlang:error(Reason) or erlang:error(Reason, Args).

A run-time error is another name for an exception of class error.

@@ -79,7 +78,6 @@

Exceptions are run-time errors or generated errors and are of three different classes, with different origins. The try expression - (new in Erlang 5.4/OTP R10B) can distinguish between the different classes, whereas the catch expression cannot. They are described in @@ -94,7 +92,7 @@ error Run-time error, for example, 1+a, or the process called - erlang:error/1,2 (new in Erlang 5.4/OTP R10B) + erlang:error/1,2 exit @@ -111,7 +109,7 @@ and a stack trace (which aids in finding the code location of the exception).

The stack trace can be retrieved using - erlang:get_stacktrace/0 (new in Erlang 5.4/OTP R10B) + erlang:get_stacktrace/0 from within a try expression, and is returned for exceptions of class error from a catch expression.

An exception of class error is also known as a run-time -- cgit v1.2.3 From 14de54495030e746b475afa13aead9e86d8bc3ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Gustavsson?= Date: Wed, 11 Jan 2017 14:44:57 +0100 Subject: expressions.xml: Remove superfluous references to OTP R7/R10 --- system/doc/reference_manual/expressions.xml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/system/doc/reference_manual/expressions.xml b/system/doc/reference_manual/expressions.xml index 1a3d19aed1..acd1dec901 100644 --- a/system/doc/reference_manual/expressions.xml +++ b/system/doc/reference_manual/expressions.xml @@ -123,10 +123,9 @@ member(_Elem, []) -> or receive expression must be bound in all branches to have a value outside the expression. Otherwise they are regarded as 'unsafe' outside the expression.

-

For the try expression introduced in - Erlang 5.4/OTP R10B, variable scoping is limited so that +

For the try expression variable scoping is limited so that variables bound in the expression are always 'unsafe' outside - the expression. This is to be improved.

+ the expression.

@@ -189,7 +188,6 @@ f([$p,$r,$e,$f,$i,$x | Str]) -> ...
 case {Value, Result} of
     {?THRESHOLD+1, ok} -> ...
-

This feature was added in Erlang 5.0/OTP R7.

@@ -1348,8 +1346,8 @@ catch ExceptionBodyN end

This is an enhancement of - catch that appeared in - Erlang 5.4/OTP R10B. It gives the possibility to:

+ catch. + It gives the possibility to:

Distinguish between different exception classes. Choose to handle only the desired ones. -- cgit v1.2.3 From ed3307e38a22c7dc02057b75c8dbc12410c11ea4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Gustavsson?= Date: Wed, 11 Jan 2017 14:50:47 +0100 Subject: macros.xml: Remove a reference to OTP R7 --- system/doc/reference_manual/macros.xml | 1 - 1 file changed, 1 deletion(-) diff --git a/system/doc/reference_manual/macros.xml b/system/doc/reference_manual/macros.xml index 5f24473557..b6c740dd10 100644 --- a/system/doc/reference_manual/macros.xml +++ b/system/doc/reference_manual/macros.xml @@ -286,7 +286,6 @@ t.erl:5: Warning: -warning("Macro VERSION not defined -- using default version." argument, is expanded to a string containing the tokens of the argument. This is similar to the #arg stringifying construction in C.

-

The feature was added in Erlang 5.0/OTP R7.

Example:

-define(TESTCALL(Call), io:format("Call ~s: ~w~n", [??Call, Call])). -- cgit v1.2.3 From 33fe60df7c1661d0a2af979351ae8f3c8a9e5494 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Gustavsson?= Date: Wed, 11 Jan 2017 14:52:22 +0100 Subject: records.xml: Remove a superfluous reference to OTP R8 --- system/doc/reference_manual/records.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/system/doc/reference_manual/records.xml b/system/doc/reference_manual/records.xml index 12a3e697cd..1eb13b353e 100644 --- a/system/doc/reference_manual/records.xml +++ b/system/doc/reference_manual/records.xml @@ -72,9 +72,9 @@
 #Name{Field1=Expr1,...,FieldK=ExprK, _=ExprL}

Omitted fields then get the value of evaluating ExprL - instead of their default values. This feature was added in - Erlang 5.1/OTP R8 and is primarily intended to be used to create - patterns for ETS and Mnesia match functions.

+ instead of their default values. This feature is primarily + intended to be used to create patterns for ETS and Mnesia match + functions.

Example:

 -record(person, {name, phone, address}).
-- 
cgit v1.2.3


From d917e51b6a53b44bcb45a8ede9eecd39042c6627 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bj=C3=B6rn=20Gustavsson?= 
Date: Wed, 11 Jan 2017 14:54:21 +0100
Subject: character_set.xml: Remove a superfluous reference to OTP R5

---
 system/doc/reference_manual/character_set.xml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/system/doc/reference_manual/character_set.xml b/system/doc/reference_manual/character_set.xml
index d25f2c001d..f0f4c23608 100644
--- a/system/doc/reference_manual/character_set.xml
+++ b/system/doc/reference_manual/character_set.xml
@@ -32,9 +32,9 @@
 
   
Character Set -

Since Erlang 4.8/OTP R5A, the syntax of Erlang tokens is extended to - allow the use of the full ISO-8859-1 (Latin-1) character set. This - is noticeable in the following ways:

+

The syntax of Erlang tokens allow the use of the full + ISO-8859-1 (Latin-1) character set. This is noticeable in the + following ways:

All the Latin-1 printable characters can be used and are -- cgit v1.2.3