aboutsummaryrefslogtreecommitdiff
path: root/src-self-hosted/Module.zig
diff options
context:
space:
mode:
authorHenrik Laxhuber <henrik@laxhuber.com>2020-07-26 16:27:47 +0200
committerVeikka Tuominen <git@vexu.eu>2020-07-27 13:43:49 +0300
commit442025481c40625f8010355d2790935e5add0db5 (patch)
tree6b97bea31427e2df675bfec4871977fb4abcf3b0 /src-self-hosted/Module.zig
parent616355807fc8b0a2e7ccc2e54cd4453776c0e187 (diff)
downloadzig-442025481c40625f8010355d2790935e5add0db5.tar.gz
zig-442025481c40625f8010355d2790935e5add0db5.zip
Fix parsing of `unsigned` in translate-c.
Previously, `unsigned` was parsed as the shorthand for `unsigned int`. This commit introduces code to parse `unsigned short`, `unsigned int`, `unsigned long`, and `unsigned long long`. There is a comment in the code about std.c.parse` - Im not familiar with zig internals, but it seems like this is a separate C parsing implementation. In the long run, it probably makes sense to merge both implementations, so this commit should be regarded as a quick fix that doesn't address an apparently underlying issue.
Diffstat (limited to 'src-self-hosted/Module.zig')
0 files changed, 0 insertions, 0 deletions