com php-src: Make sure the generator script also creates a newline at the end of file: Zend/zend_vm_gen.php

From: Date: Mon, 07 Jul 2014 05:15:09 +0000
Subject: com php-src: Make sure the generator script also creates a newline at the end of file: Zend/zend_vm_gen.php
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-79253@lists.php.net to get a copy of this message
Commit: 716d2a3937b4590772212b563127810eb4aad672 Author: Lior Kaplan <kaplan@kaplan-laptop.zend.net> Tue, 1 Jul 2014 11:44:39 +0300 Committer: Stanislav Malyshev <stas@php.net> Sun, 6 Jul 2014 22:15:09 -0700 Parents: c5fec9e09d313b1812791e9a1c27cf422a1a8807 Branches: PHP-5.4 PHP-5.5 Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=716d2a3937b4590772212b563127810eb4aad672 Log: Make sure the generator script also creates a newline at the end of file Similar to commit d6713f39 in master Changed paths: M Zend/zend_vm_gen.php Diff: diff --git a/Zend/zend_vm_gen.php b/Zend/zend_vm_gen.php index 4bab9e5..2e244eb 100644 --- a/Zend/zend_vm_gen.php +++ b/Zend/zend_vm_gen.php @@ -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";

« previous php.cvs (#79253) next »