Simple tests go awry...

29 views
Skip to first unread message

colinta

unread,
Jun 18, 2012, 12:15:55 PM6/18/12
to modgrammar
Using python 3.2.2, I cannot get `WORD` to parse anything.

The code is here: https://gist.github.com/2949166

I expect to see the FirstName grammar working, but all I get is `None`
back...

iris...@gmail.com

unread,
Dec 7, 2012, 10:07:46 AM12/7/12
to modgr...@googlegroups.com, col...@gmail.com
When the parser returns a result of None, that typically means that it successfully accepted the data and is waiting for more data to finish the complete statement.  Try adding a newline at the end of your test strings and see if that makes a difference.
Reply all
Reply to author
Forward
0 new messages