From 606e660f898264ea75680532c076c56bbe855633 Mon Sep 17 00:00:00 2001 From: Lukas Larsson Date: Fri, 1 Jul 2016 17:32:51 +0200 Subject: erts: Review of documentation changes --- erts/doc/src/match_spec.xml | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'erts/doc/src/match_spec.xml') diff --git a/erts/doc/src/match_spec.xml b/erts/doc/src/match_spec.xml index ee50815fde..1b297c5d29 100644 --- a/erts/doc/src/match_spec.xml +++ b/erts/doc/src/match_spec.xml @@ -142,7 +142,7 @@

A match specification used in - stdlib:ets + stdlib:ets(3) can be described in the following informal grammar:

@@ -436,9 +436,8 @@ Erlang term on stdout, which is seldom what is wanted. Returns and can only be used in the part when tracing.

- - get_tcw + get_tcw

Takes no argument and returns the value of the node's trace control word. The same is done by @@ -447,9 +446,8 @@ generic trace control. The trace control word can be tested and set both from within trace match specifications and with BIFs. This call is only allowed when tracing.

-
- set_tcw + set_tcw

Takes one unsigned integer argument, sets the value of the node's trace control word to the value of the argument, @@ -481,7 +479,7 @@

All "function calls" must be tuples, even if they take no arguments. - The value of is the atom() + The value of is the atom() , but the value of is the pid() of the current process.

@@ -770,7 +768,7 @@ {'_', [], [{set_seq_token, label, 4711}]}] ]]> -

As can be noted above, the parameter list can be matched aginst a +

As can be noted above, the parameter list can be matched against a single or an . To replace the whole parameter list with a single variable is a special case. In all other cases the must be a @@ -864,8 +862,8 @@ ['$_']}] ]]> -

Function can be useful for testing - complicated ets matches.

+

Function ets:test_ms/2> + can be useful for testing complicated ets matches.

-- cgit v1.2.3