[Fix #524] Allow semicolon as a statement separator