fix: 0-use etc.

This commit is contained in:
Kagura 2024-10-30 22:27:48 +08:00
parent ae6271aa51
commit 7302f831b0

View file

@ -122,8 +122,10 @@ class SourceFile {
funcResult.add(useCache.toString()) funcResult.add(useCache.toString())
useCache.clear() // 清空 useCache.clear() // 清空
} }
if (sentence.right in it.cParser.defineList) {
funcResult.add("${sentence.right}-use") funcResult.add("${sentence.right}-use")
} }
}
DEFINE_VALUE, CHANGE_VALUE -> { DEFINE_VALUE, CHANGE_VALUE -> {
if (useCache.isNotEmpty()) { if (useCache.isNotEmpty()) {