The keyword `ENDIF` is allowed in Boriel Basic for backward compatibility reasons. Some users would like this keyword to be syntax-colored as the other. See: https://www.boriel.com/forum/showthread.php?tid=2625&pid=7783#pid7783 for example.