Eli Bendersky

Results 225 comments of Eli Bendersky

I think that what's often done is nodes would have a start coord and end coord, covering their extent, e.g. consider: ``` int a + b; ``` This is valid...

I'm not sure I understand what's wrong in the coordinates; could you elaborate in more detail what you see, what you expect to see and why? Provide a minimal example...

Got it, thanks. Yes, this could be improved. PRs welcome.

Interesting report, thank you. I agree this is an issue - found it mentioned in 6.4.5. of the C11 spec. Processing the strings seems undesirable to me, since pycparser tries...

The problem is that these preprocessing tests actually test very little - only this trivial function https://github.com/eliben/pycparser/blob/master/pycparser/__init__.py#L18, which itself just invokes an external command. This is not a core part...

If anyone wants to dig in and fix it, I'll accept PRs.

@benhoyt it _is_ a separate issue, but just quickly - you can use a combination of `-a` and `-G` to do that. If this is not what you were asking...

@vsajip That approach sounds reasonable. Sorry for the terrible delay. pss "just works" for me so I don't tend to muck with it often

This directly follows the algorithm outlined in the Raft paper for `AppendEntries`