The changes are, as it turns out, purely cosmetic.
void
_mesa_program_lexer_dtor(void *scanner)
{
- /* FINISHME: It's not clear to me whether or not the buffer state returned
- * FINISHME: by yy_scan_bytes in _mesa_program_lexer_ctor needs to be
- * FINISHME: explicitly destroyed here or not.
- */
yylex_destroy(scanner);
}
if (ctx->Program.ErrorPos != -1) {
- goto error;
+ goto error;
}
if (! _mesa_layout_parameters(state)) {
for (sym = state->sym; sym != NULL; sym = temp) {
temp = sym->next;
- _mesa_free(sym->name);
+ _mesa_free((void *) sym->name);
_mesa_free(sym);
}
state->sym = NULL;