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]: