Skip to content

Commit 5f26466

Browse files
committed
update-readme
1 parent c98e581 commit 5f26466

File tree

7 files changed

+13
-9
lines changed

7 files changed

+13
-9
lines changed

build.sbt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ lazy val readme = scalatex.ScalatexReadme(
55
source = "Readme",
66
autoResources = List("out.js", "JProfiler.png")
77
).settings(
8-
(resources in Compile) += baseDirectory.value/".."/"out"/"demo"/"fullOpt"/"dest"/"out.js"
8+
(resources in Compile) += baseDirectory.value/".."/"out"/"demo"/"fullOpt"/"dest"/"out.js",
9+
scalaVersion := "2.12.7"
910
)
1011

demo/src/demo/DemoMain.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ object DemoMain {
117117
val outputBox = div(width:="45%", float.right, overflowX.scroll).render
118118

119119
def recalc() = {
120-
inputBox.rows = inputBox.value.lines.length
120+
inputBox.rows = inputBox.value.linesIterator.length
121121
val details = parse(inputBox.value, parser) match{
122122
case s: fastparse.Parsed.Success[_] =>
123123
table(

project/build.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
sbt.version=0.13.16
1+
sbt.version=1.2.6

project/build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
addSbtPlugin("com.lihaoyi" % "scalatex-sbt-plugin" % "0.3.9")
1+
addSbtPlugin("com.lihaoyi" % "scalatex-sbt-plugin" % "0.3.11")

readme/Changelog.scalatex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
parsers that failed, rather than the low-level terminals). The
99
previous Fastparse 2.0.5 behavior of showing the failed terminals
1010
is now available separately under @code{trace.terminalsMsg}
11+
@li
12+
Fix crash when streaming parsing whitespace grammars (
13+
@lnk("#208", "https://github.com/lihaoyi/fastparse/issues/208"))
1114
@sect{2.0.5}
1215
@ul
1316
@li

readme/GettingStarted.scalatex

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,12 @@
4242
To begin using FastParse, add the following to your build config
4343

4444
@hl.scala
45-
"com.lihaoyi" %% "fastparse" % "2.0.5" // SBT
46-
ivy"com.lihaoyi::fastparse:2.0.5" // Mill
45+
"com.lihaoyi" %% "fastparse" % "2.1.0" // SBT
46+
ivy"com.lihaoyi::fastparse:2.1.0" // Mill
4747

4848
@p
4949
To use with Scala.js, you'll need
5050
@hl.scala
51-
"com.lihaoyi" %%% "fastparse" % "2.0.5" // SBT
52-
ivy"com.lihaoyi::fastparse::2.0.5" // Mill
51+
"com.lihaoyi" %%% "fastparse" % "2.1.0" // SBT
52+
ivy"com.lihaoyi::fastparse::2.1.0" // Mill
5353

readme/Readme.scalatex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
)
2121
)
2222

23-
@sect("FastParse 2.0.5", "Fast to write, Fast running Parsers in Scala")
23+
@sect("FastParse 2.1.0", "Fast to write, Fast running Parsers in Scala")
2424
@GettingStarted()
2525

2626
@WritingParsers()

0 commit comments

Comments
 (0)