[fix] parser - except last single node without closing `;`