Browse Source

inpcom.c, fix bug no 384

do not quote fourth token in f, h lines
otherwise if dev name equals param name parsing fails
pre-master-46
Holger Vogt 7 years ago
parent
commit
7706889a0a
  1. 5
      src/frontend/inpcom.c

5
src/frontend/inpcom.c

@ -6557,6 +6557,11 @@ inp_quote_params(struct card *c, struct card *end_c, struct dependency *deps, in
if (num_terminals <= 0)
continue;
/* There are devices that should not get quotes around tokens following after the terminals.
See bug 384 */
if (curr_line[0] == 'f' || curr_line[0] == 'h')
num_terminals++;
for (i = 0; i < num_params; i++) {
char *s = curr_line;

Loading…
Cancel
Save