aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2013-01-29 09:05:50 +0100
committerBjörn Gustavsson <[email protected]>2013-01-31 11:14:47 +0100
commitc3e2946b897d0302cdc44516f28369b448139f67 (patch)
tree58169456c93eaec29d305b7d2ea108f487ee8130
parent264f9212dbd81557cdf4d9da1b5f0fb50b82eea3 (diff)
downloadotp-c3e2946b897d0302cdc44516f28369b448139f67.tar.gz
otp-c3e2946b897d0302cdc44516f28369b448139f67.tar.bz2
otp-c3e2946b897d0302cdc44516f28369b448139f67.zip
Remove the error message for future reserved keyword
There are currently no keywords reserved for the future.
-rw-r--r--lib/stdlib/src/erl_lint.erl2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/stdlib/src/erl_lint.erl b/lib/stdlib/src/erl_lint.erl
index d50172ca50..87d990cf52 100644
--- a/lib/stdlib/src/erl_lint.erl
+++ b/lib/stdlib/src/erl_lint.erl
@@ -222,8 +222,6 @@ format_error({removed, MFA, String}) when is_list(String) ->
io_lib:format("~s: ~s", [format_mfa(MFA), String]);
format_error({obsolete_guard, {F, A}}) ->
io_lib:format("~p/~p obsolete", [F, A]);
-format_error({reserved_for_future,K}) ->
- io_lib:format("atom ~w: future reserved keyword - rename or quote", [K]);
format_error({too_many_arguments,Arity}) ->
io_lib:format("too many arguments (~w) - "
"maximum allowed is ~w", [Arity,?MAX_ARGUMENTS]);