Suggested by PHPStorm:
if( ! preg_match( $this->regDQuote, $this->src, $r ) ){
throw new Exception( "Unterminated string constant on line $this->line" );
-} else {
+}
- $s = $r[0];
+$s = $r[0];
- $t = Tokens::J_STRING_LITERAL;
+$t = Tokens::J_STRING_LITERAL;
-}
Suggested by PHPStorm:
if( ! preg_match( $this->regDQuote, $this->src, $r ) ){ throw new Exception( "Unterminated string constant on line $this->line" ); -} else { +} - $s = $r[0]; +$s = $r[0]; - $t = Tokens::J_STRING_LITERAL; +$t = Tokens::J_STRING_LITERAL; -}