Skip to content

fix: Recognize __uint128_t in the C lexer and parser.#1

Open
iphydf wants to merge 1 commit into
TokTok:masterfrom
iphydf:uint128-parser
Open

fix: Recognize __uint128_t in the C lexer and parser.#1
iphydf wants to merge 1 commit into
TokTok:masterfrom
iphydf:uint128-parser

Conversation

@iphydf
Copy link
Copy Markdown
Member

@iphydf iphydf commented May 16, 2026

The signed __int128_t was already handled, but the unsigned __uint128_t keyword was missing, so buildlib failed to parse system headers that use it (e.g. aarch64-linux-musl bits/signal.h, used transitively via aio.h).

The uint128_type it maps to already exists in absyn — only the lexer keyword and the grammar token + rule were missing.

This unblocks cross-compiling the Cyclone libc bindings for arm64.


This change is Reviewable

@iphydf iphydf added this to the master milestone May 16, 2026
The signed __int128_t was already handled, but the unsigned __uint128_t
keyword was missing, so buildlib failed to parse system headers that use
it (e.g. aarch64-linux-musl bits/signal.h). The uint128_type it maps to
already exists in absyn.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant