Skip to content

Commit

Permalink
build: upgrade to latest gk parser util
Browse files Browse the repository at this point in the history
  • Loading branch information
ice1000 committed Jan 17, 2025
1 parent b44af0e commit ef9a248
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@ tasks {
val fileName = ayaPsiParserFile.name
val url = URI("https://raw.githubusercontent.com/aya-prover/aya-dev/refs/heads/main/parser/src/main/grammar/$fileName").toURL()
val text = url.openStream().use { it.reader().readText() }
val syntaxNode = object : GkParser() {}.parse(text)
val patchedBNF = GkPatcher.forPlugin(MarkerNodeWrapper(text, syntaxNode))
val syntaxNode = GkParser().parse(text)
val patchedBNF = GkPatcher.forPlugin(MarkerNodeWrapper(syntaxNode, text))
ayaPsiParserFile.writeText(patchedBNF.toString())
}
}
Expand Down
4 changes: 2 additions & 2 deletions gradle/deps.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
version.project=0.0.1-SNAPSHOT
version.aya=0.37.0-SNAPSHOT
version.aya-upstream=0.0.32
version.aya=0.38.0-SNAPSHOT
version.aya-upstream=0.0.33

0 comments on commit ef9a248

Please sign in to comment.