Update error.cpp

This commit is contained in:
blueloveTH 2024-04-13 23:00:19 +08:00
parent 6028967abe
commit 43fb6a966b

View File

@ -13,7 +13,7 @@ namespace pkpy{
index++;
}
this->source = ss.str();
if(this->source.size > 5 && this->source.sv().substr(0, 5) == "pkpy:"){
if(this->source.size>5 && this->source.sv().substr(0, 5)=="pkpy:"){
this->is_precompiled = true;
}else{
this->is_precompiled = false;