com php-src: Fixed warning "No new line at end of file": Zend/zend_vm_gen.php Zend/zend_vm_opcodes.h
| From: | Xinchen Hui | Date: | Fri, 24 Jan 2014 02:50:41 +0000 |
| Subject: | com php-src: Fixed warning "No new line at end of file": Zend/zend_vm_gen.php Zend/zend_vm_opcodes.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-75772@lists.php.net to get a copy of this message | ||
Commit: aba775fd34d5f0e10c072daaf350dbc068436f44
Author: Xinchen Hui <laruence@php.net> Thu, 26 Dec 2013 17:45:37 +0800
Parents: a9b40a20fcd6c3c06c62908bc1e7b8a645ecd3c2
Branches: PHP-5.6 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=aba775fd34d5f0e10c072daaf350dbc068436f44
Log:
Fixed warning "No new line at end of file"
Changed paths:
M Zend/zend_vm_gen.php
M Zend/zend_vm_opcodes.h
Diff:
diff --git a/Zend/zend_vm_gen.php b/Zend/zend_vm_gen.php
index fc6c617..a25ff9d 100644
--- a/Zend/zend_vm_gen.php
+++ b/Zend/zend_vm_gen.php
@@ -1216,7 +1216,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";
diff --git a/Zend/zend_vm_opcodes.h b/Zend/zend_vm_opcodes.h
index c4cab07..0f75196 100644
--- a/Zend/zend_vm_opcodes.h
+++ b/Zend/zend_vm_opcodes.h
@@ -172,4 +172,4 @@ ZEND_API const char *zend_get_opcode_name(zend_uchar opcode);
#define ZEND_RECV_VARIADIC 164
#define ZEND_SEND_UNPACK 165
-#endif
\ No newline at end of file
+#endif