Skip to content

Commit

Permalink
just to be complete with it - the new test case works
Browse files Browse the repository at this point in the history
git-svn-id: https://slps.svn.sourceforge.net/svnroot/slps@292 ab42f6e0-554d-0410-b580-99e487e6eeb2
  • Loading branch information
grammarware committed Sep 22, 2008
1 parent 48c9ee7 commit da67609
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 @@ -9,6 +9,7 @@ test:
make designate.test
make deyaccify1.test
make deyaccify2.test
make deyaccify3.test
make eliminate.test
make extract1.test
make extract2.test
Expand Down
26 changes: 26 additions & 0 deletions topics/transformation/xbgf/tests/deyaccify3.baseline
@@ -0,0 +1,26 @@
<bgf:grammar xmlns:bgf="http://planet-sl.org/bgf">
<bgf:production>
<nonterminal>Declarator</nonterminal>
<bgf:expression>
<sequence>
<bgf:expression>
<nonterminal>Identifier</nonterminal>
</bgf:expression>
<bgf:expression>
<star>
<bgf:expression>
<sequence>
<bgf:expression>
<terminal>[</terminal>
</bgf:expression>
<bgf:expression>
<terminal>]</terminal>
</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/deyaccify3.bgf
@@ -0,0 +1,25 @@
<bgf:grammar xmlns:bgf="http://planet-sl.org/bgf">
<bgf:production>
<nonterminal>Declarator</nonterminal>
<bgf:expression>
<choice>
<bgf:expression>
<nonterminal>Identifier</nonterminal>
</bgf:expression>
<bgf:expression>
<sequence>
<bgf:expression>
<nonterminal>Declarator</nonterminal>
</bgf:expression>
<bgf:expression>
<terminal>[</terminal>
</bgf:expression>
<bgf:expression>
<terminal>]</terminal>
</bgf:expression>
</sequence>
</bgf:expression>
</choice>
</bgf:expression>
</bgf:production>
</bgf:grammar>
5 changes: 5 additions & 0 deletions topics/transformation/xbgf/tests/deyaccify3.xbgf
@@ -0,0 +1,5 @@
<xbgf:sequence
xmlns:bgf="http://planet-sl.org/bgf"
xmlns:xbgf="http://planet-sl.org/xbgf">
<xbgf:deyaccify>Declarator</xbgf:deyaccify>
</xbgf:sequence>

0 comments on commit da67609

Please sign in to comment.