Skip to content

Commit

Permalink
Update TextGrammar.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
phlegmaticprogrammer committed Jul 24, 2021
1 parent c99edcc commit 83f6fd9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/ParsingKit/TextGrammar.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ open class TextGrammar : Grammar {

@Sym public var Char : Terminal<UNIT, CHAR>

public init() {
super.init()
public init(sealed : Bool = true) {
super.init(sealed: sealed)
}

public func literal(_ chars : String) -> RuleBody {
Expand Down

0 comments on commit 83f6fd9

Please sign in to comment.