[BUG #5967] change tokenization of run-away delimited tokens

- the tokenizer was issuing StopIteration for a run-away string/regexp
- when it should actually raise SyntaxException
- allowed strings as left operand for DIV (could be e.g. "6")