fixed a bug in Parser.complete()- it was mishandling some kinds of misnesting.