Replace _directives_used_in_this_line with a simpler hack

It's still a hack, and I'm still unhappy about this.