diff --git a/vlib/v/util/errors.v b/vlib/v/util/errors.v index 4a92d1e052..7b7f2628d6 100644 --- a/vlib/v/util/errors.v +++ b/vlib/v/util/errors.v @@ -200,13 +200,6 @@ pub fn verror(kind string, s string) { } pub fn vlines_escape_path(path string, ccompiler string) string { - is_cc_tcc := ccompiler.contains('tcc') - if is_cc_tcc { - // tcc currently has a bug, causing all #line files, - // to be prefixed with the *same folder as the .tmp.c file* - // this ../../ escaping, is a temporary workaround for that - return '../../../../../..' + cescaped_path(os.real_path(path)) - } return cescaped_path(os.real_path(path)) }