Amarok24/The_C_Book__Banahan

PRs #1 thru #7

RossBencina opened this issue · 1 comments

Hello Jan,

I found your repository while looking for C89/C90 code that I could use to test a C parser that I'm developing. Thank you for creating it, so far it has helped me find two bugs in my project.

For my project I need C code that compiles cleanly, so I have fixed some issues with the .c files in your repo and made PRs. Most are actual bugs and typos in the code, however #6 and #7 are changes to the .c files so that they are stand-alone .c files rather than just fragments containing statements at top-level. I'm not sure you want to merge those since they would then diverge from the book text.

I'm going to file some issues on the book repo to get the typos fixed in the book.