Emit #line more eagerly
commita7a1a1d022abcb6519dd23fe80ef8e3c76889976
authorSam Liddicott <sam@liddicott.com>
Wed, 18 Nov 2009 12:24:17 +0000 (18 12:24 +0000)
committerSam Liddicott <sam@liddicott.com>
Wed, 18 Nov 2009 12:24:17 +0000 (18 12:24 +0000)
tree98ace982aeee4e06a98e24456cb5f9e2280aab02
parent9562064ed61893a1eb7fbb94972484aaa04f8a5d
Emit #line more eagerly

empty text chunklets after a newline were being treated as a
valid reason not to emit a #line pragma

This was needlessly causing #line to be emitted in the middle
of multiline #defines at the top of an included chunk or in the
middle of a function parameter list.

This fix doesn't prevent such bad behaviour (which depends on
mode tracking) but it does prevent it occuring needlessly
newfangle
newfangle.lyx