[SR-Dev] git:andrei/type_conversion: script parsing: fix bug in expression error checking