格式化代码

pull/1112/head
gedoor 3 years ago
parent ca57577711
commit f75738f685
  1. 5
      app/src/main/java/io/legado/app/model/analyzeRule/RuleAnalyzer.kt

@ -323,10 +323,7 @@ class RuleAnalyzer(data: String, code: Boolean = false) {
val next = if (queue[pos] == '[') ']' else ')' //平衡组末尾字符 val next = if (queue[pos] == '[') ']' else ')' //平衡组末尾字符
if (!chompBalanced(queue[pos], next)) throw Error( if (!chompBalanced(queue[pos], next)) throw Error(
queue.substring( queue.substring(0, start) + "后未平衡"
0,
start
) + "后未平衡"
) //拉出一个筛选器,不平衡则报错 ) //拉出一个筛选器,不平衡则报错
} while (end > pos) } while (end > pos)

Loading…
Cancel
Save