@@ -73,9 +73,9 @@ discard block |
||
73 | 73 | for ($i = 0; $i < strlen($this->str); $i++) { |
74 | 74 | $char = $this->identifyChar($this->str[$i]); |
75 | 75 | if ($commentChangeI = $this->doComments($tokens, $char, $i)) { |
76 | - $i = $commentChangeI; |
|
77 | - continue; |
|
78 | - } |
|
76 | + $i = $commentChangeI; |
|
77 | + continue; |
|
78 | + } |
|
79 | 79 | |
80 | 80 | $this->doNewLine($tokens, $char); |
81 | 81 | $this->doSimpleTokens($tokens, $char); |
@@ -88,10 +88,10 @@ discard block |
||
88 | 88 | else return $tokens; |
89 | 89 | } |
90 | 90 | |
91 | - private function doComments(&$tokens, $char, $i) { |
|
92 | - return $this->doSingleLineComments($tokens, $char, $i) + |
|
93 | - $this->doMultiLineComments($tokens, $char, $i); |
|
94 | - } |
|
91 | + private function doComments(&$tokens, $char, $i) { |
|
92 | + return $this->doSingleLineComments($tokens, $char, $i) + |
|
93 | + $this->doMultiLineComments($tokens, $char, $i); |
|
94 | + } |
|
95 | 95 | |
96 | 96 | private function doSingleLineComments(&$tokens, $char, $i) { |
97 | 97 | if ($char == Tokenizer::DIVIDE && isset($this->str[$i+1]) && $this->identifyChar($this->str[$i+1]) == Tokenizer::DIVIDE) { |