grammar: Adapt to pp interface change.

This commit is contained in:
Michal Krol 2009-09-14 13:08:16 +02:00
parent 169aead1b5
commit cd26ccf6fe

View file

@ -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);