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

NO_SPC_BFR_PAR isn't triggered for square brackets #249

Closed
PavelICS opened this issue Oct 23, 2021 · 0 comments
Closed

NO_SPC_BFR_PAR isn't triggered for square brackets #249

PavelICS opened this issue Oct 23, 2021 · 0 comments

Comments

@PavelICS
Copy link

Describe the bug
The NO_SPC_BFR_PAR should be triggered in the code example below.
The current norminette says that it's OK.

Erroneous code

#include <stdio.h>

int  main(void)
{
	const int	x[3] = {1, 2, 3};

	x [0 ] += x [1 ] + x [2 ];
	printf("%d\n", *x);
	return (0);
}

Additional infos

  • OS: Ubuntu 20.04.3 (WSL)
  • python --version: 3.8.10
  • norminette -v: 3.3.40

Additional context
изображение

@N0ich N0ich closed this as completed in 1e7051b Nov 5, 2021
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