Skip to content
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

Infinite loop #514

Open
Bunyod16 opened this issue Oct 2, 2024 · 0 comments
Open

Infinite loop #514

Bunyod16 opened this issue Oct 2, 2024 · 0 comments

Comments

@Bunyod16
Copy link

Bunyod16 commented Oct 2, 2024

Describe the bug
When running norminette on a certain file, it will be stuck forever in an infinite loop

Erroneous code

/* ************************************************************************** */
/*                                                                            */
/*                                                        :::      ::::::::   */
/*   ft_putchar.c                                       :+:      :+:    :+:   */
/*                                                    +:+ +:+         +:+     */
/*   By: aimokhta <[email protected]>          +#+  +:+       +#+        */
/*                                                +#+#+#+#+#+   +#+           */
/*   Created: 2024/10/02 15:29:44 by aimokhta          #+#    #+#             */
/*   Updated: 2024/10/02 15:45:36 by aimokhta         ###   ########.fr       */
/*                                                                            */
/* ************************************************************************** */

#include <unistd.h>

void ft_putchar(char c);
{
write(1, &c, 1);
write(1, "\n", 1)
}

Additional infos
norminette 3.3.55

Additional context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant