{
struct output_engine *e = engine_stack_top ();
+ if (item == NULL)
+ return;
+
if (is_syntax_item (item))
{
ds_put_cstr (&e->deferred_syntax, text_item_get_text (to_text_item (item)));
device_string, "terminal", "listing");
device_type = default_device_type (file_name);
}
-
+
struct file_handle *fh = fh_create_file (NULL, file_name, NULL, fh_default_properties ());
driver = f->create (fh, device_type, options);