mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
fix indentation + remove c++ comments
This commit is contained in:
parent
a75decd452
commit
02a9eb4f8c
1 changed files with 5 additions and 5 deletions
|
@ -104,7 +104,7 @@ static void tokenize(zval *return_value)
|
|||
int token_type;
|
||||
zend_bool destroy;
|
||||
int token_line = 1;
|
||||
int need_tokens = -1; // for __halt_compiler lexing. -1 = disabled
|
||||
int need_tokens = -1; /* for __halt_compiler lexing. -1 = disabled */
|
||||
|
||||
array_init(return_value);
|
||||
|
||||
|
@ -147,13 +147,13 @@ static void tokenize(zval *return_value)
|
|||
}
|
||||
ZVAL_NULL(&token);
|
||||
|
||||
// after T_HALT_COMPILER collect the next three non-dropped tokens
|
||||
/* after T_HALT_COMPILER collect the next three non-dropped tokens */
|
||||
if (need_tokens != -1) {
|
||||
if (token_type != T_WHITESPACE && token_type != T_OPEN_TAG
|
||||
&& token_type != T_COMMENT && token_type != T_DOC_COMMENT
|
||||
&& --need_tokens == 0
|
||||
&& token_type != T_COMMENT && token_type != T_DOC_COMMENT
|
||||
&& --need_tokens == 0
|
||||
) {
|
||||
// fetch the rest into a T_INLINE_HTML
|
||||
/* fetch the rest into a T_INLINE_HTML */
|
||||
if (zendcursor != zendlimit) {
|
||||
array_init(&keyword);
|
||||
add_next_index_long(&keyword, T_INLINE_HTML);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue