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

COMMA_START_LINE isn't triggered when declaring and initilazing a structure/array. #248

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

Comments

@PavelICS
Copy link

Describe the bug
The COMMA_START_LINE 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};

	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 fbace7b 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