summaryrefslogtreecommitdiff
path: root/glcpp-parse.y
diff options
context:
space:
mode:
Diffstat (limited to 'glcpp-parse.y')
-rw-r--r--glcpp-parse.y6
1 files changed, 6 insertions, 0 deletions
diff --git a/glcpp-parse.y b/glcpp-parse.y
index 29614fb1a4..9883a6f953 100644
--- a/glcpp-parse.y
+++ b/glcpp-parse.y
@@ -74,11 +74,17 @@ content:
talloc_free ($1);
}
| directive_with_newline
+| NEWLINE {
+ printf ("\n");
+ }
| content token {
_print_resolved_token (parser, $2);
talloc_free ($2);
}
| content directive_with_newline
+| content NEWLINE {
+ printf ("\n");
+ }
;
directive_with_newline: