diff options
-rw-r--r-- | test.php | 18 |
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 |