ometa.runtime.ParseError.formatError can't deal with InputStreams
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Parsley |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
The line ``lines = str(self.
>>> g = BootOMetaGramma
... foo = 'a':one baz:two 'd'+ 'e' -> (one, two)
... baz = 'b' | 'c'
... """, {})
>>> gg = g.parseGrammar('g')
>>> i = TrampolinedGram
>>> i.receive('foobar')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/
for x in self.next:
File "/Users/
for x in self._apply(f, ruleName, argvals):
File "/Users/
for x in rule():
File "/Users/
for x in self._eval(
File "/Users/
raise ParseError(
ometa.
<ometa.
^
Parse error at line 2, column 0: expected the object 'a'
Related branches
Changed in parsley: | |
milestone: | none → 1.1 |
See http:// bazaar. launchpad. net/~washort/ parsley/ trunk/revision/ 136