Skip to content

Commit

Permalink
deyaccification bug
Browse files Browse the repository at this point in the history
git-svn-id: https://slps.svn.sourceforge.net/svnroot/slps@325 ab42f6e0-554d-0410-b580-99e487e6eeb2
  • Loading branch information
grammarware committed Oct 7, 2008
1 parent 47d8be5 commit 239b51e
Show file tree
Hide file tree
Showing 4 changed files with 57 additions and 0 deletions.
1 change: 1 addition & 0 deletions topics/transformation/xbgf/tests/Makefile
Expand Up @@ -12,6 +12,7 @@ test:
@make deyaccify1.quiet
@make deyaccify2.quiet
@make deyaccify3.quiet
@make deyaccify4.quiet
@make distribute1.quiet
@make eliminate.quiet
@make extract1.quiet
Expand Down
26 changes: 26 additions & 0 deletions topics/transformation/xbgf/tests/deyaccify4.baseline
@@ -0,0 +1,26 @@
<bgf:grammar xmlns:bgf="http://planet-sl.org/bgf">
<bgf:production>
<nonterminal>ExpressionList</nonterminal>
<bgf:expression>
<sequence>
<bgf:expression>
<nonterminal>Expression</nonterminal>
</bgf:expression>
<bgf:expression>
<star>
<bgf:expression>
<sequence>
<bgf:expression>
<terminal>,</terminal>
</bgf:expression>
<bgf:expression>
<nonterminal>Expression</nonterminal>
</bgf:expression>
</sequence>
</bgf:expression>
</star>
</bgf:expression>
</sequence>
</bgf:expression>
</bgf:production>
</bgf:grammar>
25 changes: 25 additions & 0 deletions topics/transformation/xbgf/tests/deyaccify4.bgf
@@ -0,0 +1,25 @@
<bgf:grammar xmlns:bgf="http://planet-sl.org/bgf">
<bgf:production>
<nonterminal>ExpressionList</nonterminal>
<bgf:expression>
<choice>
<bgf:expression>
<sequence>
<bgf:expression>
<nonterminal>ExpressionList</nonterminal>
</bgf:expression>
<bgf:expression>
<terminal>,</terminal>
</bgf:expression>
<bgf:expression>
<nonterminal>Expression</nonterminal>
</bgf:expression>
</sequence>
</bgf:expression>
<bgf:expression>
<nonterminal>Expression</nonterminal>
</bgf:expression>
</choice>
</bgf:expression>
</bgf:production>
</bgf:grammar>
5 changes: 5 additions & 0 deletions topics/transformation/xbgf/tests/deyaccify4.xbgf
@@ -0,0 +1,5 @@
<xbgf:sequence
xmlns:bgf="http://planet-sl.org/bgf"
xmlns:xbgf="http://planet-sl.org/xbgf">
<xbgf:deyaccify>ExpressionList</xbgf:deyaccify>
</xbgf:sequence>

0 comments on commit 239b51e

Please sign in to comment.