summaryrefslogtreecommitdiff
path: root/src/glsl/glcpp/tests/083-unterminated-if.c.expected
AgeCommit message (Collapse)Author
2010-08-11glcpp: Fix "unterminated if" diagnostic.Carl Worth
This was previously being appended to the output string *after* a copy of the supposedly final string was made and handed to the caller. So the diagnostic was never actually visible to the user. We fix this by moving the check for an unterminated #if from glcpp_parser_destroy to the calling function, preprocess. This fixes the test case 083-unterminated-if.c.