updated parser.mly to match the latest scanner and AST.  Also fixed bug that did not allow single statement in function body.