@@ -506,6 +506,9 @@ Program {
506506 " kind" : " variable" ,
507507 " name" : " arg" ,
508508 },
509+ Noop {
510+ " kind" : " noop" ,
511+ },
509512 ],
510513 " kind" : " call" ,
511514 " what" : PropertyLookup {
@@ -539,6 +542,9 @@ Program {
539542 " kind" : " variable" ,
540543 " name" : " baz" ,
541544 },
545+ Noop {
546+ " kind" : " noop" ,
547+ },
542548 ],
543549 " kind" : " new" ,
544550 " what" : ClassReference {
@@ -550,6 +556,10 @@ Program {
550556 },
551557 " kind" : " expressionstatement" ,
552558 },
559+ ExpressionStatement {
560+ " expression" : undefined ,
561+ " kind" : " expressionstatement" ,
562+ },
553563 ExpressionStatement {
554564 " expression" : Variable {
555565 " curly" : false ,
@@ -564,33 +574,26 @@ Program {
564574 },
565575 ],
566576 " errors" : Array [
567- Error {
568- " expected" : " EXPR" ,
569- " kind" : " error" ,
570- " line" : 2 ,
571- " message" : " Parse Error : syntax error, unexpected ')' on line 2" ,
572- " token" : " ')'" ,
573- },
574577 Error {
575578 " expected" : " )" ,
576579 " kind" : " error" ,
577- " line" : 2 ,
578- " message" : " Parse Error : syntax error, unexpected '; ', expecting ')' on line 2 " ,
579- " token" : " '; '" ,
580+ " line" : 3 ,
581+ " message" : " Parse Error : syntax error, unexpected ', ', expecting ')' on line 3 " ,
582+ " token" : " ', '" ,
580583 },
581584 Error {
582- " expected" : " EXPR " ,
585+ " expected" : " ; " ,
583586 " kind" : " error" ,
584587 " line" : 3 ,
585- " message" : " Parse Error : syntax error, unexpected ',' on line 3" ,
588+ " message" : " Parse Error : syntax error, unexpected ',', expecting ';' on line 3" ,
586589 " token" : " ','" ,
587590 },
588591 Error {
589- " expected" : " ) " ,
592+ " expected" : " EXPR " ,
590593 " kind" : " error" ,
591594 " line" : 3 ,
592- " message" : " Parse Error : syntax error, unexpected '$foo' (T_VARIABLE), expecting ') ' on line 3" ,
593- " token" : " '$foo' (T_VARIABLE) " ,
595+ " message" : " Parse Error : syntax error, unexpected ', ' on line 3" ,
596+ " token" : " ',' " ,
594597 },
595598 Error {
596599 " expected" : " ;" ,
0 commit comments