From 09855215559d852865719fa315d0930f03501913 Mon Sep 17 00:00:00 2001 From: Felipe Zorzo Date: Sun, 29 Sep 2024 22:00:34 -0300 Subject: [PATCH] fix(grammar): Use BOOLEAN_LITERAL in BOOLEAN_TEST_CONDITION --- .../kotlin/org/sonar/plugins/plsqlopen/api/ConditionsGrammar.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zpa-core/src/main/kotlin/org/sonar/plugins/plsqlopen/api/ConditionsGrammar.kt b/zpa-core/src/main/kotlin/org/sonar/plugins/plsqlopen/api/ConditionsGrammar.kt index a5835705..7df84ce3 100644 --- a/zpa-core/src/main/kotlin/org/sonar/plugins/plsqlopen/api/ConditionsGrammar.kt +++ b/zpa-core/src/main/kotlin/org/sonar/plugins/plsqlopen/api/ConditionsGrammar.kt @@ -74,7 +74,7 @@ enum class ConditionsGrammar : GrammarRuleKey { ).skip() b.rule(BOOLEAN_TEST_CONDITION).define( - CONCATENATION_EXPRESSION, IS, b.optional(NOT), b.firstOf(NULL_LITERAL, TRUE, FALSE) + CONCATENATION_EXPRESSION, IS, b.optional(NOT), b.firstOf(NULL_LITERAL, PlSqlGrammar.BOOLEAN_LITERAL) ) b.rule(LIKE_CONDITION).define(