optimize codes

This commit is contained in:
ValKmjolnir
2022-04-13 19:08:06 +08:00
parent 022460755f
commit ca073499ae
4 changed files with 10 additions and 6 deletions
+1 -1
View File
@@ -93,7 +93,7 @@ struct token
uint32_t column;
uint32_t type;
std::string str;
token(uint32_t l=0,uint32_t c=0,uint32_t t=tok_null,const std::string s=""):str(s)
token(uint32_t l=0,uint32_t c=0,uint32_t t=tok_null,const std::string& s=""):str(s)
{
line=l;
column=c;