Verify that all input was consumed.

pull/15/head
Jussi Pakkanen 11 years ago
parent cddb5b7bcb
commit 68f990c8da
  1. 3
      parsertest.py

@ -303,7 +303,8 @@ class Parser:
def parse(self):
block = self.codeblock()
print(block.lines)
self.expect('eof')
return block
def statement(self):
return self.e1()

Loading…
Cancel
Save