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

Error: SPACE_AFTER_KW when using break and return #529

Open
Didas-git opened this issue Feb 27, 2025 · 1 comment
Open

Error: SPACE_AFTER_KW when using break and return #529

Didas-git opened this issue Feb 27, 2025 · 1 comment

Comments

@Didas-git
Copy link

Didas-git commented Feb 27, 2025

Describe the bug
norminette requires break and return to be followed by a space.

Erroneous code

if (*m == 7)
{
	break;
}

Additional infos
norminette 3.3.55

@Didas-git Didas-git changed the title Error: SPACE_AFTER_KW when using break Error: SPACE_AFTER_KW when using break and return Feb 27, 2025
@S1NJED
Copy link

S1NJED commented Mar 6, 2025

You need to put a space after a keyword, like this:

if (*m == 7)
{
	break ;
}

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

2 participants