fix some small errors

This commit is contained in:
John Bintz 2008-10-21 20:01:11 -04:00
parent 8c618ada46
commit 6820bf4890

View File

@ -32,7 +32,7 @@ class CommandLineInterface {
var results = parser.parse(code); var results = parser.parse(code);
if (results.length == 0) { if (results.length == 0) {
neko.Lib.print("Your code didn't have any tokens in it!"); neko.Lib.print("Your code didn't have any tokens in it!\n");
neko.Sys.exit(0); neko.Sys.exit(0);
} }
@ -41,7 +41,7 @@ class CommandLineInterface {
var version_info = new CodeVersionInformation(results, ignored_modules, ignored_tokens_in_modules); var version_info = new CodeVersionInformation(results, ignored_modules, ignored_tokens_in_modules);
neko.Lib.print("Your code in " + arguments[0] + " requires the following minimum PHP & PECL module versions:\n"); neko.Lib.print("Your code in " + filepath + " requires the following minimum PHP & PECL module versions:\n");
var minimum = version_info.final_versions.get("minimum"); var minimum = version_info.final_versions.get("minimum");