Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bachish committed May 30, 2024
1 parent 1afc615 commit 1fd5802
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package grammars.cAPlusBStar

import org.ucfs.grammar.combinator.Grammar
import org.ucfs.grammar.combinator.regexp.Many
import org.ucfs.grammar.combinator.regexp.many
import org.ucfs.grammar.combinator.regexp.Nt
import org.ucfs.grammar.combinator.regexp.Some
import org.ucfs.grammar.combinator.regexp.some
import org.ucfs.grammar.combinator.regexp.times
import org.ucfs.rsm.symbol.Term

class ScanerlessGrammarDsl : Grammar() {
val S by Nt(Term("c") * Some(Term("a")) * Many(Term("b"))).asStart()
val S by Nt(Term("c") * some(Term("a")) * many(Term("b"))).asStart()
}

0 comments on commit 1fd5802

Please sign in to comment.