reuse generate_marker instead of having some rogue #line prints