From d48be01fff31a7a9d611802721aa70532d251c3a Mon Sep 17 00:00:00 2001 From: Kevin Chabowski Date: Sat, 24 May 2014 14:55:11 +0200 Subject: Moved to src/ste for psr-4 compliance --- src/ParseCompileError.php | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 src/ParseCompileError.php (limited to 'src/ParseCompileError.php') diff --git a/src/ParseCompileError.php b/src/ParseCompileError.php deleted file mode 100644 index 5ee37c7..0000000 --- a/src/ParseCompileError.php +++ /dev/null @@ -1,22 +0,0 @@ -msg = $msg; - $this->tpl = $tpl; - $this->off = $offset; - $this->message = "$msg (Template $tpl, Offset $offset)"; - } - - public function rewrite($code) { - $line = substr_count(str_replace("\r\n", "\n", substr($code, 0, $this->off)), "\n") + 1; - $this->message = "{$this->msg} (Template {$this->tpl}, Line $line)"; - $this->is_rewritten = true; - } -} -- cgit v1.2.3-70-g09d2