aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ic/src/ic_symtab.erl
diff options
context:
space:
mode:
authorNiclas Eklund <[email protected]>2010-12-17 16:26:18 +0100
committerNiclas Eklund <[email protected]>2010-12-17 16:26:18 +0100
commit1de445e76dee4e9473eadf7f6bd0dcb26a295a64 (patch)
tree308c95a5e0f94bf188b447f3091ea588850d9ef0 /lib/ic/src/ic_symtab.erl
parent863e39fad4a832cf4c01ddaf84ff13c5fd0c1d65 (diff)
parent8a1ec022a6395ce6c228c6776dc12bff4f3967cf (diff)
downloadotp-1de445e76dee4e9473eadf7f6bd0dcb26a295a64.tar.gz
otp-1de445e76dee4e9473eadf7f6bd0dcb26a295a64.tar.bz2
otp-1de445e76dee4e9473eadf7f6bd0dcb26a295a64.zip
Merge branch 'maint-r14' into dev
Diffstat (limited to 'lib/ic/src/ic_symtab.erl')
-rw-r--r--lib/ic/src/ic_symtab.erl4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/ic/src/ic_symtab.erl b/lib/ic/src/ic_symtab.erl
index 889c75e3a2..d710154a5d 100644
--- a/lib/ic/src/ic_symtab.erl
+++ b/lib/ic/src/ic_symtab.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 1998-2009. All Rights Reserved.
+%% Copyright Ericsson AB 1998-2010. All Rights Reserved.
%%
%% The contents of this file are subject to the Erlang Public License,
%% Version 1.1, (the "License"); you may not use this file except in
@@ -69,6 +69,8 @@ store(G, N, X) ->
ets:insert(G#genobj.symtab, {Name, X});
{ok, Y} when is_record(Y, forward) ->
ets:insert(G#genobj.symtab, {Name, X});
+ {ok, Y} when is_record(Y, constr_forward) ->
+ ets:insert(G#genobj.symtab, {Name, X});
{ok, _Y} ->
ic_error:error(G, {multiply_defined, X})
end.