enum which_formats, bool eject);
static trns_proc_func print_trns_proc;
static trns_free_func print_trns_free;
enum which_formats, bool eject);
static trns_proc_func print_trns_proc;
static trns_free_func print_trns_free;
\f
static bool parse_string_argument (struct lexer *, struct print_trns *,
int record, int *column);
\f
static bool parse_string_argument (struct lexer *, struct print_trns *,
int record, int *column);
Returns success. */
static bool
parse_specs (struct lexer *lexer, struct pool *tmp_pool, struct print_trns *trns,
Returns success. */
static bool
parse_specs (struct lexer *lexer, struct pool *tmp_pool, struct print_trns *trns,
- if (!parse_column_range (lexer, &first_column, &last_column, &range_specified))
- return false;
+ if (!parse_column_range (lexer, &first_column, &last_column, &range_specified))
+ return false;
-
- if (!parse_variables_const_pool (lexer, tmp_pool, dict,
+
+ if (!parse_variables_const_pool (lexer, tmp_pool, dict,
/* This is a completely bizarre twist for compatibility:
WRITE outputs the system-missing value as a field
filled with spaces, instead of using the normal format
/* This is a completely bizarre twist for compatibility:
WRITE outputs the system-missing value as a field
filled with spaces, instead of using the normal format
tab_text (t, 3, 0, TAB_CENTER | TAT_TITLE, _("Format"));
tab_dim (t, tab_natural_dimensions);
row = 1;
tab_text (t, 3, 0, TAB_CENTER | TAT_TITLE, _("Format"));
tab_dim (t, tab_natural_dimensions);
row = 1;
- ll_for_each (spec, struct prt_out_spec, ll, &trns->specs)
+ ll_for_each (spec, struct prt_out_spec, ll, &trns->specs)
- ll_for_each (spec, struct prt_out_spec, ll, &trns->specs)
+ ll_for_each (spec, struct prt_out_spec, ll, &trns->specs)
{
flush_records (trns, spec->record, &eject, &record);
{
flush_records (trns, spec->record, &eject, &record);
ds_set_length (&trns->line, spec->first_column, ' ');
if (spec->type == PRT_VAR)
{
ds_set_length (&trns->line, spec->first_column, ' ');
if (spec->type == PRT_VAR)
{
ds_put_substring (&trns->line, ds_ss (&spec->string));
}
flush_records (trns, trns->record_cnt + 1, &eject, &record);
ds_put_substring (&trns->line, ds_ss (&spec->string));
}
flush_records (trns, trns->record_cnt + 1, &eject, &record);
flush_records (struct print_trns *trns, int target_record,
bool *eject, int *record)
{
flush_records (struct print_trns *trns, int target_record,
bool *eject, int *record)
{
if (trns->writer == NULL)
tab_output_text (TAB_FIX | TAT_NOWRAP, &line[1]);
else
{
if (trns->writer == NULL)
tab_output_text (TAB_FIX | TAT_NOWRAP, &line[1]);
else
{