Skip to content

Hang when preprocessor line trailing comment #3

@ABitOfBacon

Description

@ABitOfBacon

At the end of my header files I have

#endif // the_name_of_the_inclusion_guard_hpp

This hangs westerly inside of skip_over_preproc_definition

I have "fixed" it locally by swapping the line if tokens[index][2] == "\n": with if "\n" in tokens[index][2]:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions