|
|
| version 1.1.1.1, 2012/02/21 23:47:52 | version 1.1.1.4, 2014/06/15 20:04:03 |
|---|---|
| Line 2 | Line 2 |
| +----------------------------------------------------------------------+ | +----------------------------------------------------------------------+ |
| | Zend Engine | | | Zend Engine | |
| +----------------------------------------------------------------------+ | +----------------------------------------------------------------------+ |
| | Copyright (c) 1998-2012 Zend Technologies Ltd. (http://www.zend.com) | | | Copyright (c) 1998-2014 Zend Technologies Ltd. (http://www.zend.com) | |
| +----------------------------------------------------------------------+ | +----------------------------------------------------------------------+ |
| | This source file is subject to version 2.00 of the Zend license, | | | This source file is subject to version 2.00 of the Zend license, | |
| | that is bundled with this package in the file LICENSE, and is | | | that is bundled with this package in the file LICENSE, and is | |
| Line 64 ZEND_API void zend_indent() | Line 64 ZEND_API void zend_indent() |
| while ((token_type=lex_scan(&token TSRMLS_CC))) { | while ((token_type=lex_scan(&token TSRMLS_CC))) { |
| switch (token_type) { | switch (token_type) { |
| case T_INLINE_HTML: | case T_INLINE_HTML: |
| zend_write(LANG_SCNG(yy_text), LANG_SCNG(yy_leng)); | zend_write((char*)LANG_SCNG(yy_text), LANG_SCNG(yy_leng)); |
| break; | break; |
| case T_WHITESPACE: { | case T_WHITESPACE: { |
| token.type = 0; | token.type = 0; |
| Line 118 dflt_printout: | Line 118 dflt_printout: |
| } else { | } else { |
| handle_whitespace(emit_whitespace); | handle_whitespace(emit_whitespace); |
| } | } |
| zend_write(LANG_SCNG(yy_text), LANG_SCNG(yy_leng)); | zend_write((char*)LANG_SCNG(yy_text), LANG_SCNG(yy_leng)); |
| break; | break; |
| } | } |
| } else { | } else { |
| handle_whitespace(emit_whitespace); | handle_whitespace(emit_whitespace); |
| if (in_string) { | if (in_string) { |
| zend_write(LANG_SCNG(yy_text), LANG_SCNG(yy_leng)); | zend_write((char*)LANG_SCNG(yy_text), LANG_SCNG(yy_leng)); |
| /* a part of a string */ | /* a part of a string */ |
| } else { | } else { |
| zend_write(LANG_SCNG(yy_text), LANG_SCNG(yy_leng)); | zend_write((char*)LANG_SCNG(yy_text), LANG_SCNG(yy_leng)); |
| } | } |
| } | } |
| break; | break; |