Skip to content

Error: unrecognize line ... while parsing ... [<CHAR>] #584

@ael-ghaz

Description

@ael-ghaz

Bug:
When I put a comment in the line of the last enum I created in a header file, I got a norminette error written in red. This error concerns a boolean prototype function.

Erroneous code
An exemple of enum which provide this error:

typedef enum e_type
{
	TEX,
	COLOR,
	MAP,
	EMPTY,
	UNKNOWN		// comment here
}	t_type;

Additional infos
Version: norminette 3.3.55

Additional context
The error:
Error: Unrecognized line (185, 41) while parsing line [<CHAR>]
And the line 185:
184: bool check_argc(int argc); 185: bool check_extension(char *filename, char *ext_to_check);
Note that the first boolean function is not concerned by the error while the second one is.
Thanks for your time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions