summaryrefslogtreecommitdiff
path: root/glcpp-lex.l
diff options
context:
space:
mode:
Diffstat (limited to 'glcpp-lex.l')
-rw-r--r--glcpp-lex.l7
1 files changed, 1 insertions, 6 deletions
diff --git a/glcpp-lex.l b/glcpp-lex.l
index 13e4d6f0ef..114b59f045 100644
--- a/glcpp-lex.l
+++ b/glcpp-lex.l
@@ -173,12 +173,7 @@ TOKEN [^[:space:](),]+
}
\n {
- /* XXX: Printing here (rather than in a parser production)
- * *and* frobbing a bit of the parser state here are both ugly
- * things. But all my attempts to avoid this by returning a
- * NEWLINE token here have led to even more ugly things. */
- printf ("\n");
- yyextra->just_printed_separator = 1;
+ yyextra->need_newline = 1;
}
{HSPACE}+