[refactoring] update ast structure of "HaltCompiler" node

This commit is contained in:
Vadym Slizov
2020-08-24 21:41:06 +03:00
parent c1b3e6f5b2
commit 0285900fe5
9 changed files with 1097 additions and 1078 deletions
+2 -1
View File
@@ -1049,7 +1049,8 @@ func TestParseAndPrintPhp5Goto(t *testing.T) {
}
func TestParseAndPrintPhp5HaltCompiler(t *testing.T) {
src := `<?php
// TODO: remove ; after <?php
src := `<?php ;
__halt_compiler ( ) ;
this text is ignored by parser
`