Skip to content

Commit

Permalink
Fixed bugs in Spec parser for terminals (#145)
Browse files Browse the repository at this point in the history
  • Loading branch information
jhnaldo committed May 27, 2023
1 parent f6c24d6 commit f244aa6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/esmeta/spec/util/Parser.scala
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ trait Parsers extends LangParsers {

/** terminals */
lazy val term: Parser[Terminal] = {
"`[^`]+`|```".r ^^ {
"`[^`]+`|`[`]+`".r ^^ {
case str =>
Terminal(str.substring(1, str.length - 1))
}
Expand Down

0 comments on commit f244aa6

Please sign in to comment.