glsl: Modify strategy for accumulating conditions when lowering if-statements
[mesa.git] / src / glsl / s_expression.h
index 795f3fccea78a4f0b7b416add8061a5fc0dbc3d6..642af19b439261a35c51890fd4ee38d5c952d50e 100644 (file)
@@ -57,7 +57,7 @@ public:
     * Read an S-Expression from the given string.
     * Advances the supplied pointer to just after the expression read.
     *
-    * Any allocation will be performed with 'ctx' as the talloc owner.
+    * Any allocation will be performed with 'ctx' as the ralloc owner.
     */
    static s_expression *read_expression(void *ctx, const char *&src);
 
@@ -129,7 +129,7 @@ public:
    void print();
 
 private:
-   char *str;
+   const char *str;
 };
 
 /* Lists of expressions: (expr1 ... exprN) */