Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
just to be complete with it - the new test case works
git-svn-id: https://slps.svn.sourceforge.net/svnroot/slps@292 ab42f6e0-554d-0410-b580-99e487e6eeb2
- Loading branch information
1 parent
48c9ee7
commit da67609
Showing
4 changed files
with
57 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |