I've just came across following bug in toad for oracle (v18.104.22.1688).
originally I experienced it in a complex statement with a complex formula split into multiple lines.
but I've managed to track it down to this simple case.
divider sign on a separate line causes ORA-923
statement must have been misinterpreted by toad since sqlplus doesn't have a problem with such a formula.