Skip to content

Commit

Permalink
Merge pull request #601 from hibtc/fix-parsing-logical-after-string
Browse files Browse the repository at this point in the history
Fix parsing negated logical after string parameter
  • Loading branch information
ldeniau committed Mar 6, 2018
2 parents e49a202 + 9e575a1 commit d44b03e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mad_cmdpar.c
Expand Up @@ -857,7 +857,7 @@ decode_par(struct in_cmd* cmd, int start, int number, int pos, int log)
for (j = i; j < number; j++)
if (name_list_pos(alias(toks[j]), cmd->cmd_def->par_names) >= 0) break;
// dirty quick fix for ticket #165
// if (*toks[j-1] == ',') j--;
if (*toks[j-1] == '-') j--;
while (*toks[j-1] == ',') j--;
tot_end = j - 1;
clp->string = permbuff(noquote(join(&toks[i], j - i)));
Expand Down

0 comments on commit d44b03e

Please sign in to comment.