Kaynağa Gözat

Modidied the text printed by sq_geterrorfunc to allow scite editor be able to parse it.

mingodad 13 yıl önce
ebeveyn
işleme
a187d92e49
1 değiştirilmiş dosya ile 2 ekleme ve 1 silme
  1. 2 1
      sqstdlib/sqstdaux.cpp

+ 2 - 1
sqstdlib/sqstdaux.cpp

@@ -118,7 +118,8 @@ void _sqstd_compiler_error(HSQUIRRELVM v,const SQChar *sErr,const SQChar *sSourc
 {
 	SQPRINTFUNCTION pf = sq_geterrorfunc(v);
 	if(pf) {
-		pf(v,_SC("%s line = (%d) column = (%d) : error %s\n"),sSource,line,column,sErr);
+		//pf(v,_SC("%s line = (%d) column = (%d) : error %s\n"),sSource,line,column,sErr);
+		pf(v,_SC("%s:%d:%d : error %s\n"),sSource,line,column,sErr);
 	}
 }