From 1cbce22f67b80e53025b46450a77fa7b02a1f1ee Mon Sep 17 00:00:00 2001 From: Alex Semin Date: Sat, 7 Oct 2023 13:38:08 +0200 Subject: [PATCH] Duplicate deprecation --- src/commonMain/kotlin/me/alllex/parsus/parser/ParsingContext.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/commonMain/kotlin/me/alllex/parsus/parser/ParsingContext.kt b/src/commonMain/kotlin/me/alllex/parsus/parser/ParsingContext.kt index edb8c01..3b67e62 100644 --- a/src/commonMain/kotlin/me/alllex/parsus/parser/ParsingContext.kt +++ b/src/commonMain/kotlin/me/alllex/parsus/parser/ParsingContext.kt @@ -42,6 +42,7 @@ internal class ParsingContext( override val currentOffset: Int get() = position + @Deprecated("The new \"scannerless\" parsing approach does not eagerly tokenize the input. The `currentToken` is always null.") override val currentToken: TokenMatch? get() = tokenizer.findContextFreeMatch(position)