Skip to content

Commit

Permalink
Transformations: Add {param.exists} as synonym for {param.exist}
Browse files Browse the repository at this point in the history
  • Loading branch information
liviuchircu committed Aug 16, 2022
1 parent 80ff319 commit 6164bc1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion transformations.c
Expand Up @@ -3382,7 +3382,8 @@ int tr_parse_paramlist(str* in, trans_t *t)

return 0;

} else if(name.len==5 && strncasecmp(name.s, "exist", 5)==0) {
} else if(str_match(&name, _str("exist"))
|| str_match(&name, _str("exists"))) {
t->subtype = TR_PL_EXIST;
if(*p!=TR_PARAM_MARKER)
{
Expand Down

0 comments on commit 6164bc1

Please sign in to comment.