diff options
Diffstat (limited to 'glcpp/glcpp-lex.l')
-rw-r--r-- | glcpp/glcpp-lex.l | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/glcpp/glcpp-lex.l b/glcpp/glcpp-lex.l index cc5f28f8f8..f736ac4d59 100644 --- a/glcpp/glcpp-lex.l +++ b/glcpp/glcpp-lex.l @@ -201,3 +201,9 @@ NON_STARS_THEN_STARS [^*]*[*]+ } %% + +void +glcpp_lex_set_source_string(glcpp_parser_t *parser, const char *shader) +{ + yy_scan_string(shader, parser->scanner); +} |