From 3c51baa4167d5a68ff010dc81525b9340c5f1329 Mon Sep 17 00:00:00 2001 From: Kevin Chabowski Date: Sat, 24 May 2014 14:45:13 +0200 Subject: Moved code into src subfolder and fixed docu --- ParseCompileError.php | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 ParseCompileError.php (limited to 'ParseCompileError.php') diff --git a/ParseCompileError.php b/ParseCompileError.php deleted file mode 100644 index 5ee37c7..0000000 --- a/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-54-g00ecf