Commit 43235c97 authored by Jonathan Wilkes's avatar Jonathan Wilkes

Merge branch 'aggraef/purr-data-fix-binbuf-match'

parents c6485c39 0a63e95f
......@@ -1625,12 +1625,18 @@ int binbuf_match(t_binbuf *inbuf, t_binbuf *searchbuf, int wholeword)
if (a2->a_type != a1->a_type)
goto nomatch;
}
else if (a1->a_type == A_FLOAT || a1->a_type == A_DOLLAR)
else if (a1->a_type == A_FLOAT)
{
if (a2->a_type != a1->a_type ||
if (a2->a_type != a1->a_type ||
a1->a_w.w_float != a2->a_w.w_float)
goto nomatch;
}
else if (a1->a_type == A_DOLLAR)
{
if (a2->a_type != a1->a_type ||
a1->a_w.w_index != a2->a_w.w_index)
goto nomatch;
}
else if (a1->a_type == A_SYMBOL || a1->a_type == A_DOLLSYM)
{
if ((a2->a_type != A_SYMBOL && a2->a_type != A_DOLLSYM)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment