compiler/libec: parser: fixed string used after it is used