Commits

Anonymous committed 7f2c21c

BUG: composing option lists in tuples

Comments (0)

Files changed (4)

docs/heading.en.yinc2

 div id="headline" {
     p > pyPEG – a PEG Parser-Interpreter in Python
     div class="small" {
-        "pyPEG 2.12.1 of Tu Aug 10 2013 – Copyleft 2009-2013, "
+        "pyPEG 2.13.0 of Tu Aug 10 2013 – Copyleft 2009-2013, "
         a "http://fdik.org", "Volker Birk";
     }
     div id=python1 p

pypeg2/__init__.py

     pass
 
 
-__version__ = 2.12
+__version__ = 2.13
 __author__ = "Volker Birk"
 __license__ = "This program is under GNU General Public License 2.0."
 __url__ = "http://fdik.org/pyPEG"
                                     text.append(compose_tuple(thing, things, g))
                                     if not things:
                                         break
+                                elif isinstance(g, list):
+                                    text.append(self.compose(thing, g))
+                                    if not things:
+                                        break
                                 else:
                                     text.append(self.compose(things.pop(), g))
                                 passes += 1
     pass
 
 
-__version__ = 2.12
+__version__ = 2.13
 __author__ = "Volker Birk"
 __license__ = "This program is under GNU General Public License 2.0."
 __url__ = "http://fdik.org/pyPEG"
 from distutils.core import setup
 
-_version = '2.12.1'
+_version = '2.13.0'
 
 setup(
     name='pyPEG2',
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.