Eli Bendersky

Results 225 comments of Eli Bendersky

You should be able to pick up how to run it from the `tests_full` dir. For example, https://github.com/eliben/luz-cpu/blob/master/luz_asm_sim/tests_full/loop_simple/loop.lasm should link. See `run_full_tests.py` to see the exact invocations

Indeed, this requires deeper investigation/thought. I'm not sure the quals on `Decl` are necessary, but maybe I'm missing something. In a perfect world there would be no reason for the...

Thanks for the report; I don't have an objection to fixing this, though it may turn out to be a bit tricky since the parser will create different AST entries....

Thanks for the report. Strictly reading the standard, a `labeled-statement` requires a statement following the `label:`, e.g. see section A.2.3 in https://www.open-std.org/jtc1/sc22/wg14/www/docs/n1570.pdf `gcc` also issues a warning here in "strict"...

Please minimize the example to pinpoint which specific line of preprocessed C code pycparser chokes on.

While `va_arg` is in C99, it's a macro so it should be handled by the preprocessor. You can already parse this using the standard provided fake headers (see the README)....

I don't object, but it may be tricky to add this parsing rule without introducing more parser conflicts. PRs welcome

Can you provide a minimal, complete reproducer?

Thanks. This is probably not too hard to fix for someone motivated enough to dig into the code. PRs welcome :)

A simpler reproducer: > int a = b / 10 % 20; It seems like the coordinate attribution for binary ops could be improved, though it's not clear what the...