diff options
author | Niclas Eklund <[email protected]> | 2010-09-23 13:54:49 +0200 |
---|---|---|
committer | Niclas Eklund <[email protected]> | 2010-09-23 13:54:49 +0200 |
commit | ad4911ae7cf3f9af4a3eac18ddfee4277db8a047 (patch) | |
tree | 7b90bb28a2bc0a716d383814f0a4725ea33bc5b2 /lib/ic/src/ic_symtab.erl | |
parent | 5ddf44bb91540fd88e604f077d71482c40185cd8 (diff) | |
download | otp-ad4911ae7cf3f9af4a3eac18ddfee4277db8a047.tar.gz otp-ad4911ae7cf3f9af4a3eac18ddfee4277db8a047.tar.bz2 otp-ad4911ae7cf3f9af4a3eac18ddfee4277db8a047.zip |
Added partial support for recursive IDL types.
Diffstat (limited to 'lib/ic/src/ic_symtab.erl')
-rw-r--r-- | lib/ic/src/ic_symtab.erl | 4 |
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. |