aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorHenrik Nord <[email protected]>2011-09-01 15:42:28 +0200
committerHenrik Nord <[email protected]>2011-09-01 15:42:28 +0200
commit8fc59a1ff776a472299db26b175da09a03b3d30b (patch)
treea8430e5ea80c26e3580687122d5eddecce9994fd /lib
parent7ca2941ca0ab85d904de658cf495318dcfbda760 (diff)
parenteb4aa9b65c8b50597ed8fae092555145e466e1dc (diff)
downloadotp-8fc59a1ff776a472299db26b175da09a03b3d30b.tar.gz
otp-8fc59a1ff776a472299db26b175da09a03b3d30b.tar.bz2
otp-8fc59a1ff776a472299db26b175da09a03b3d30b.zip
Merge branch 'dev' into major
Diffstat (limited to 'lib')
-rw-r--r--lib/stdlib/src/eval_bits.erl8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/stdlib/src/eval_bits.erl b/lib/stdlib/src/eval_bits.erl
index ddce4bd75a..796c5b934d 100644
--- a/lib/stdlib/src/eval_bits.erl
+++ b/lib/stdlib/src/eval_bits.erl
@@ -35,12 +35,12 @@
%% can perform a match (given a value, a pattern and an environment),
%% lookup a variable in the bindings, or add a new binding
%%
-%% @type field() represents a field in a "bin"
+%% @type field(). Represents a field in a "bin".
%%% Part 1: expression evaluation (binary construction)
%% @spec expr_grp(Fields::[field()], Bindings::bindings(),
-%% EvalFun::evalfun()) ->
+%% EvalFun::evalfun(), term(), term()) ->
%% {value, binary(), bindings()}
%%
%% @doc Returns a tuple with {value,Bin,Bs} where Bin is the binary
@@ -194,9 +194,9 @@ bin_gen_field({bin_element,Line,VE,Size0,Options0},
end.
%%% Part 3: binary pattern matching
-%% @spec match_bits(Fields::[field()], Bin::binary()
+%% @spec match_bits(Fields::[field()], Bin::binary(),
%% GlobalEnv::bindings(), LocalEnv::bindings(),
-%% MatchFun::matchfun(),EvalFun::evalfun()) ->
+%% MatchFun::matchfun(),EvalFun::evalfun(), term()) ->
%% {match, bindings()}
%% @doc Used to perform matching. If the match succeeds a new
%% environment is returned. If the match have some syntactic or