State machine for parsing unified diff back into basic differences.