]> Kevux Git Server - fll/commit
Bugfix: risky macro definition caused counter problems.
authorKevin Day <thekevinday@gmail.com>
Thu, 9 Jul 2020 03:33:46 +0000 (22:33 -0500)
committerKevin Day <thekevinday@gmail.com>
Thu, 9 Jul 2020 03:33:46 +0000 (22:33 -0500)
commit965b00d2098375782a8a19c97f0a62546aaea2e6
tree595f10a6e97da7f1c9e06cf44ab007c22f840d4d
parent8179cebb750c61586600b13907848b265f754ca5
Bugfix: risky macro definition caused counter problems.

Macros should be used sparingly, if at all.
When macros are used, they should be used carefully.

In this case, I was defining a variable "i".
The substituted data also included an "i", which caused a non-obvious problem.

Use a more unique counter variable name "_macro__i" to help avoid these problems in the future.
level_0/f_directory/c/directory_type.h
level_0/f_fss/c/fss-named.h
level_0/f_fss/c/fss-nest.h
level_0/f_fss/c/fss-set.h
level_0/f_memory/c/memory-structure.h
level_0/f_string/c/string-dynamic.h
level_0/f_string/c/string-map.h
level_0/f_utf/c/utf-common.h