Commit 1f05e9ea authored by Matthew Fernandez's avatar Matthew Fernandez
Browse files

fix: avoid platform-specific isspace differences

Currently debugging a curious problem wherein the murphi2c test of
tests/comment-escape.m passes on FreeBSD and macOS but fails on Linux. My
suspicion is that Glibc's isspace is returning something non-zero but with the
LSB unset for isspace(' ') which, when ANDed with the promoted value of `true`,
results in 0. I don't know if this hypothesis is correct or not, but it seems
wise to avoid these sort of bitwise operations on pseudo boolean values anyway.
parent a9c36834
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment