celltypes: Fix `$buf` eval

This commit is contained in:
Martin Povišer 2024-09-18 16:53:56 +02:00
parent 5f8d7ff170
commit 3a1b003cc3
1 changed files with 1 additions and 2 deletions

View File

@ -381,11 +381,10 @@ struct CellTypes
HANDLE_CELL_TYPE(modfloor)
HANDLE_CELL_TYPE(pow)
HANDLE_CELL_TYPE(pos)
HANDLE_CELL_TYPE(buf)
HANDLE_CELL_TYPE(neg)
#undef HANDLE_CELL_TYPE
if (type == ID($_BUF_))
if (type.in(ID($_BUF_), ID($buf)))
return arg1;
if (type == ID($_NOT_))
return eval_not(arg1);