Mercurial > vim
comparison src/eval.c @ 1022:3376d79d40f2 v7.0.148
updated for version 7.0-148
author | vimboss |
---|---|
date | Tue, 24 Oct 2006 11:49:25 +0000 |
parents | 2651e7d07cd6 |
children | 82b2594be408 |
comparison
equal
deleted
inserted
replaced
1021:81cf1b6e0a2d | 1022:3376d79d40f2 |
---|---|
3123 int doesrange; | 3123 int doesrange; |
3124 int failed = FALSE; | 3124 int failed = FALSE; |
3125 funcdict_T fudi; | 3125 funcdict_T fudi; |
3126 | 3126 |
3127 tofree = trans_function_name(&arg, eap->skip, TFN_INT, &fudi); | 3127 tofree = trans_function_name(&arg, eap->skip, TFN_INT, &fudi); |
3128 vim_free(fudi.fd_newkey); | 3128 if (fudi.fd_newkey != NULL) |
3129 { | |
3130 /* Still need to give an error message for missing key. */ | |
3131 EMSG2(_(e_dictkey), fudi.fd_newkey); | |
3132 vim_free(fudi.fd_newkey); | |
3133 } | |
3129 if (tofree == NULL) | 3134 if (tofree == NULL) |
3130 return; | 3135 return; |
3131 | 3136 |
3132 /* Increase refcount on dictionary, it could get deleted when evaluating | 3137 /* Increase refcount on dictionary, it could get deleted when evaluating |
3133 * the arguments. */ | 3138 * the arguments. */ |