-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reformatting code #29
Conversation
{ | ||
/* three bytes, encoding 1110xxxx 10xxxxxx 10xxxxxx */ | ||
len = 3; | ||
ptr2 += len; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, that looks like I introduced a bug here.
When I'm done, I need to find a way to compare the code before and after formatting if it is identical. I already found one bug I introduced, so I need to ensure there aren't more. |
Maybe I can just compile it (without machine code) and diff the assembly. |
e92d73f
to
949ff0d
Compare
Compiling to assembly and doing a diff works perfectly and I found another bug that way. |
@DaveGamble: If there's no objection you can merge it. |
I rebased this branch on top of the new fix for #30 . |
Given the time that passed where people had time to complain, I'll merge this. |
This is a work in progressof reformatting the code, see #24.Not ready for merging yet.