summaryrefslogtreecommitdiff
path: root/test.php
diff options
context:
space:
mode:
authorKevin Chabowski <kevin@kch42.de>2013-10-28 18:01:20 +0100
committerKevin Chabowski <kevin@kch42.de>2013-10-28 18:01:20 +0100
commit55d47c27247e3cdbd88818c0ba98646ee11fb315 (patch)
treed91c2d285cfdfb5fd40337a670540363c7a4fe0e /test.php
parent4a803fa76909bc7172f68da890d854d0d7a5b903 (diff)
downloadste-55d47c27247e3cdbd88818c0ba98646ee11fb315.tar.gz
ste-55d47c27247e3cdbd88818c0ba98646ee11fb315.tar.bz2
ste-55d47c27247e3cdbd88818c0ba98646ee11fb315.zip
Removed old test code
Diffstat (limited to 'test.php')
-rw-r--r--test.php18
1 files changed, 0 insertions, 18 deletions
diff --git a/test.php b/test.php
deleted file mode 100644
index c9a72ed..0000000
--- a/test.php
+++ /dev/null
@@ -1,18 +0,0 @@
-<?php
-
-require("stupid_template_engine.php");
-
-$file = file_get_contents("example/templates/src/master.html");
-
-try {
- $ast = \ste\Parser::parse($file, "master.html");
-} catch(\ste\ParseCompileError $e) {
- $e->rewrite($file);
- echo "Could not parse:\n";
- echo $e->getMessage();
- echo "\n";
- exit(1);
-}
-
-echo "~~~~~~~~~~~\n";
-var_dump($ast); \ No newline at end of file