[SR-Dev] git:master: core script parsing: better error & warning for while() & switch()