return -1;
}
out.token = SL_PP_EXTENSION_REQUIRE;
+ assert(extension);
extension->enabled = 1;
} else if (behavior == context->dict.enable) {
if (out.data.extension == -1) {
return -1;
}
out.token = SL_PP_EXTENSION_ENABLE;
+ assert(extension);
extension->enabled = 1;
} else if (behavior == context->dict.warn) {
if (out.data.extension == -1) {
return 0;
}
out.token = SL_PP_EXTENSION_WARN;
+ assert(extension);
extension->enabled = 1;
} else if (behavior == context->dict.disable) {
if (out.data.extension == -1) {
return 0;
}
out.token = SL_PP_EXTENSION_DISABLE;
+ assert(extension);
extension->enabled = 0;
} else {
strcpy(context->error_msg, "unrecognised behavior name");
int found_eof = 0;
if (context->process_state.out_len) {
+ assert(context->process_state.out);
*output = context->process_state.out[0];
if (context->process_state.out_len > 1) {