mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-23 23:30:22 +01:00
grammar: Adapt to pp interface change.
This commit is contained in:
parent
169aead1b5
commit
cd26ccf6fe
1 changed files with 4 additions and 1 deletions
|
|
@ -3149,7 +3149,10 @@ grammar_fast_check (grammar id,
|
|||
return 0;
|
||||
}
|
||||
|
||||
sl_pp_context_init(&context);
|
||||
if (sl_pp_context_init(&context)) {
|
||||
free(outbuf);
|
||||
return 1;
|
||||
}
|
||||
|
||||
if (sl_pp_tokenise(&context, outbuf, &intokens)) {
|
||||
sl_pp_context_destroy(&context);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue