From 6e2681528377b7bda3199b683f0aaa90de010fec Mon Sep 17 00:00:00 2001 From: Christian Schneider Date: Fri, 9 Nov 2007 18:40:56 +0000 Subject: Added it_autoprepend.php, it_syntaxconverter.class and convertsyntax.php --- convertsyntax.php | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100755 convertsyntax.php (limited to 'convertsyntax.php') diff --git a/convertsyntax.php b/convertsyntax.php new file mode 100755 index 0000000..282b774 --- /dev/null +++ b/convertsyntax.php @@ -0,0 +1,43 @@ +#!/usr/bin/env php +changes) + { + if ($opts['verbose']) + echo "$file contains $converter->changes new syntax elements\n"; + + $result++; + } + } + else + { + echo $converter->output; + + if ($opts['verbose'] && $converter->changes) + fputs(fopen("php://stderr", "w"), "$converter->changes changes made to $file\n"); + } +} + +exit($result); -- cgit v1.2.3