aboutsummaryrefslogtreecommitdiff
path: root/parse.c
diff options
context:
space:
mode:
authorAndrew Chambers <[email protected]>2021-10-17 18:08:14 +1300
committerAndrew Chambers <[email protected]>2021-10-17 18:08:14 +1300
commit8464df80ace17b3decc59c4752bf1f4de9dccae8 (patch)
treedb62cd75918c2f466313d1171fb8573975baa3d4 /parse.c
parentfccfcc2043e56306935dff29e66c414fd6c0a6d0 (diff)
parentbcaa994f61c57ca5c5446a4ead7015dd1ead95db (diff)
Merge branch 'master' of github.com:andrewchambers/minias
Diffstat (limited to 'parse.c')
-rw-r--r--parse.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/parse.c b/parse.c
index 8704298..1634bb6 100644
--- a/parse.c
+++ b/parse.c
@@ -8,11 +8,10 @@ static const Parsev *internparsev(Parsev *p) {
for equality, even on pointer values, this works because the
pointers themselves are also interned.
- This simplicity somes with one big cost - Parsev variants with padding
- can trigger a false positive on valgrind. It should still safe
- because reading these undefined bytes do not change the behavior of the
- program. The best fix is still to avoid the padding bytes in the Parsev
- variant layout using a tool such as 'pahole'.
+ This simplicity comes with one big cost - Parsev variants with padding
+ can trigger a false positive on valgrind. It should still be safe,
+ but the best fix is still to avoid the padding bytes in the Parsev
+ variants.
*/
size_t idx;
const Parsev *interned;