expression can only contain one comparison.
Status: Beta
Brought to you by:
bobfoster
When using the prebop preprocessor, the documentation
states that multiple conditions can be chained in the
same way as if statements. For example:
/* $if 'hello' == 'hello' && 1 == 1 $ */
...
this will fail to be evaluated properly by prebop - the
&& will cause an exception.
Logged In: NO
sorry, I made a mistake. The problem is with the || (OR)
comparison. This is because in the Expression class, the
second character of the OR expression is ! not |. Changing
that corrects the issue.