glsl: do not crash if string literal is used outside of #include/#line
[mesa.git] / src / compiler / glsl / glcpp / glcpp-parse.y
index 1e57cccc4d1218fa0ab99e0db67a1c20ca241fb0..2a8ea817a98a7cc703f0923082428e65e247b02d 100644 (file)
@@ -1248,6 +1248,7 @@ _token_print(struct _mesa_string_buffer *out, token_t *token)
       break;
    case IDENTIFIER:
    case INTEGER_STRING:
+   case PATH:
    case OTHER:
       _mesa_string_buffer_append(out, token->value.str);
       break;