summaryrefslogtreecommitdiff
path: root/pceplib/test
diff options
context:
space:
mode:
authorChristian Hopps <chopps@labn.net>2024-12-15 21:37:41 -0500
committerChristian Hopps <chopps@labn.net>2024-12-15 22:01:56 -0500
commitfb85d18f59153bad58c5ce951e95affe0e2a5562 (patch)
treeb6d15db4e8e3760dce6fc55f75045c4bd5858792 /pceplib/test
parenta65cdb60a35205a8f9040f925e86614fe5bd4658 (diff)
lib: darr: fix bug with nested macro use
- WHen declaring macro scoped variables, can run into problem if the macro variable passed in has the same name as the new variable introduced in the inner scope. We don't get a warning and the uses will be wrong. e.g., ``` { int __len = 10; foo(__len); // => 10 and not 15 as we wanted. } ``` Signed-off-by: Christian Hopps <chopps@labn.net>
Diffstat (limited to 'pceplib/test')
0 files changed, 0 insertions, 0 deletions