glsl/glcpp: Drop extra, final newline from most output
[mesa.git] / src / glsl / glcpp / glcpp.h
index 64b4872025c026ce7479762c61ef71d1e6d48bbc..6316c9f49b8c74d2b9d3453290ecaedcf4d1de17 100644 (file)
@@ -177,6 +177,7 @@ struct glcpp_parser {
        active_list_t *active;
        int lexing_directive;
        int space_tokens;
+       int last_token_was_newline;
        int newline_as_space;
        int in_control_line;
        int paren_count;