Luca Barbato

Results 667 comments of Luca Barbato

I didn't port the tests yet, cargo-c has a mean to run C-tests on its own or if you want to preserve the Makefile you may use the uninstalled pkg-config...

Sure, I can expand it to use `pkg-config` if you deem it useful.

In general we are producing different outputs depending on the whitespaces in the input, we should tackle it

@shssoichiro can we drop the "preserve syntax" option and simply not tokenize whitespaces? it would make much simpler to do the formatting.

Sorry, I didn't express myself clearly: Currently we have this bit of logic: ```rust if is_prev_token_fmt_switch { is_prev_token_fmt_switch = false; continue; } if matches!(token.kind, TokenKind::LineComment | TokenKind::BlockComment) { if let...

Right now we have: - The span len estimation relying on Whitespace - The parentheses opening preserving Whitespace is existing I started working on making parentheses support a bit nicer,...