Skip to content

Commit 5b8958d

Browse files
committed
Added old charUtf16 just in case, removed junk from sbt
1 parent e8b0e13 commit 5b8958d

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

build.sbt

+1-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import com.typesafe.tools.mima.core._
2-
import com.github.sbt.git.SbtGit.git
32

43
val projectName = "parsley"
54
val Scala213 = "2.13.11"
@@ -96,10 +95,7 @@ lazy val parsley = crossProject(JSPlatform, JVMPlatform, NativePlatform)
9695
Test / testOptions += Tests.Argument(TestFrameworks.ScalaTest, "-oI"),
9796

9897
scalacOptions ++= {
99-
if (!isSnapshot.value && !(noReleaseFlagsScala3 && scalaBinaryVersion.value == "3")) {
100-
println("enabling the release flags!")
101-
releaseFlags
102-
} else Seq.empty
98+
if (!isSnapshot.value && !(noReleaseFlagsScala3 && scalaBinaryVersion.value == "3")) releaseFlags else Seq.empty
10399
},
104100

105101
Compile / doc / scalacOptions ++= Seq("-groups", "-doc-root-content", s"${baseDirectory.value.getParentFile.getPath}/rootdoc.md"),

parsley/shared/src/main/scala/parsley/character.scala

+2
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,8 @@ object character {
128128
if (Character.isBmpCodePoint(c)) char(c.toChar) #> c
129129
else new Parsley(new singletons.SupplementaryCharTok(c, NotConfigured))
130130
}
131+
@deprecated("this is an old naming, which I believe was never exposed but to be safe it'll remain till 5.0.0", "4.3.0")
132+
private [parsley] def charUtf16(c: Int): Parsley[Int] = codePoint(c)
131133

132134
/** This combinator tries to parse a single character from the input that matches the given predicate.
133135
*

0 commit comments

Comments
 (0)