Rimosso controllo sulla definizione di una chiave duplicata, per poter

leggere anche i files esterni.


git-svn-id: svn://10.65.10.50/trunk@4962 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
angelo 1997-07-29 07:02:10 +00:00
parent 9a375f31b0
commit 660375b4f1

View File

@ -606,8 +606,6 @@ void TTrec::update_keydef (int key, const char *desc)
{ {
const char * dup = s.get(); const char * dup = s.get();
_rec->Ky[key].DupKeys = (dup && *dup != ' '); _rec->Ky[key].DupKeys = (dup && *dup != ' ');
if (key == 0 && _rec->Ky[key].DupKeys)
fatal_box("L'indice numero 1 non puo' avere chiavi duplicate.");
TCodearray & c = expr.code (); TCodearray & c = expr.code ();
c.begin (); c.begin ();
int n = 0; int n = 0;