提交 f2b8f186 编写于 作者: A Alex Duan

fix: first update var values then search

上级 c823ad91
...@@ -938,13 +938,13 @@ char* tireSearchWord(int type, char* pre) { ...@@ -938,13 +938,13 @@ char* tireSearchWord(int type, char* pre) {
return matchNextPrefix(tire, pre); return matchNextPrefix(tire, pre);
} }
// can obtain var names from local if(updateTireValue(type, true)) {
STire* tire = getAutoPtr(type);
if (tire == NULL) {
return NULL; return NULL;
} }
if(updateTireValue(type, true)) { // can obtain var names from local
STire* tire = getAutoPtr(type);
if (tire == NULL) {
return NULL; return NULL;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册