]> granicus.if.org Git - php/commitdiff
Make sure the generator script also creates a newline at the end of file
authorLior Kaplan <kaplan@kaplan-laptop.zend.net>
Tue, 1 Jul 2014 08:44:39 +0000 (11:44 +0300)
committerStanislav Malyshev <stas@php.net>
Mon, 7 Jul 2014 05:15:09 +0000 (22:15 -0700)
Similar to commit d6713f39 in master

Zend/zend_vm_gen.php

index 4bab9e5e3da137834ba69e27b6c10c87b497daa2..2e244eb5add4084860b5b49f59ba959e6ac5693d 100644 (file)
@@ -1210,7 +1210,7 @@ function gen_vm($def, $skel) {
                fputs($f,"#define $op $code\n");
        }
 
-       fputs($f, "\n#endif");
+       fputs($f, "\n#endif\n");
        fclose($f);
        echo "zend_vm_opcodes.h generated successfully.\n";