diff --git a/src/main/kotlin/core/SourceFile.kt b/src/main/kotlin/core/SourceFile.kt index ccc382d..b72fe49 100644 --- a/src/main/kotlin/core/SourceFile.kt +++ b/src/main/kotlin/core/SourceFile.kt @@ -122,7 +122,9 @@ class SourceFile { funcResult.add(useCache.toString()) useCache.clear() // 清空 } - funcResult.add("${sentence.right}-use") + if (sentence.right in it.cParser.defineList) { + funcResult.add("${sentence.right}-use") + } } DEFINE_VALUE, CHANGE_VALUE -> {