Revision 88f74b77c1832f60e2548d1b73152bc19f08d634 authored by Stefan Karpinski on 17 September 2018, 20:28:25 UTC, committed by GitHub on 17 September 2018, 20:28:25 UTC
This code was assuming that character values only have bit-patterns
that decoding a string can produce, but of course `reinterpret` can
produce any bit pattern in a `Char` whatsoever. The fix doesn't use
that assumption and only uses the cache for actual ASCII characters.
1 parent 1324ceb
History
File Mode Size
.gitignore -rw-r--r-- 33 bytes
Makefile -rw-r--r-- 2.6 KB
repl.c -rw-r--r-- 7.8 KB

back to top