Patch level : 10.0
Files correlati : ve6 Ricompilazione Demo : [ ] Commento : Aggiunte parentesi in macro FOR_EACH_TOKEN git-svn-id: svn://10.65.10.50/trunk@19633 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
e0b7a900e2
commit
77711e2d86
@ -626,9 +626,9 @@ public:
|
||||
};
|
||||
|
||||
#define FOR_EACH_TOKEN(__tok, __str) \
|
||||
for (const char* __str = __tok.get(0); __str; __str = __tok.get())
|
||||
for (const char* __str = (__tok).get(0); __str; __str = (__tok).get())
|
||||
#define FOR_EACH_STR_TOKEN(__tok, __str) \
|
||||
TString __str;for (int __t=0;__tok.get(__t,__str);__t++)
|
||||
TString __str;for (int __t=0;(__tok).get(__t,__str);__t++)
|
||||
|
||||
///////////////////////////////////////////////////////////
|
||||
// Mitica token string che sceglie da sola il separatore
|
||||
|
Loading…
x
Reference in New Issue
Block a user