@@ -2818,7 +2818,10 @@ |
||
2818 | 2818 | } |
2819 | 2819 | |
2820 | 2820 | protected function reduceRule463() { |
2821 | - foreach ($this->semStack[$this->stackPos-(3-2)] as &$s) { if (is_string($s)) { $s = Node\Scalar\String_::parseEscapeSequences($s, null, false); } } $s = preg_replace('~(\r\n|\n|\r)\z~', '', $s); if ('' === $s) array_pop($this->semStack[$this->stackPos-(3-2)]);; $this->semValue = new Scalar\Encapsed($this->semStack[$this->stackPos-(3-2)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); |
|
2821 | + foreach ($this->semStack[$this->stackPos-(3-2)] as &$s) { if (is_string($s)) { $s = Node\Scalar\String_::parseEscapeSequences($s, null, false); } } $s = preg_replace('~(\r\n|\n|\r)\z~', '', $s); if ('' === $s) { |
|
2822 | + array_pop($this->semStack[$this->stackPos-(3-2)]); |
|
2823 | + } |
|
2824 | + ; $this->semValue = new Scalar\Encapsed($this->semStack[$this->stackPos-(3-2)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); |
|
2822 | 2825 | } |
2823 | 2826 | |
2824 | 2827 | protected function reduceRule464() { |
@@ -2406,7 +2406,10 @@ |
||
2406 | 2406 | } |
2407 | 2407 | |
2408 | 2408 | protected function reduceRule398() { |
2409 | - foreach ($this->semStack[$this->stackPos-(3-2)] as &$s) { if (is_string($s)) { $s = Node\Scalar\String_::parseEscapeSequences($s, null, true); } } $s = preg_replace('~(\r\n|\n|\r)\z~', '', $s); if ('' === $s) array_pop($this->semStack[$this->stackPos-(3-2)]);; $this->semValue = new Scalar\Encapsed($this->semStack[$this->stackPos-(3-2)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); |
|
2409 | + foreach ($this->semStack[$this->stackPos-(3-2)] as &$s) { if (is_string($s)) { $s = Node\Scalar\String_::parseEscapeSequences($s, null, true); } } $s = preg_replace('~(\r\n|\n|\r)\z~', '', $s); if ('' === $s) { |
|
2410 | + array_pop($this->semStack[$this->stackPos-(3-2)]); |
|
2411 | + } |
|
2412 | + ; $this->semValue = new Scalar\Encapsed($this->semStack[$this->stackPos-(3-2)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); |
|
2410 | 2413 | } |
2411 | 2414 | |
2412 | 2415 | protected function reduceRule399() { |