From 5811ba4e73a357e9c7c5ba7d56e112bf79d88264 Mon Sep 17 00:00:00 2001 From: Gama11 Date: Tue, 29 Jul 2014 20:54:34 +0200 Subject: [PATCH] Readme typo fix --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8356b1f..5ba5104 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ var interp = new hscript.Interp(); trace(interp.execute(ast)); -In case of parse error an `hscript.Expr.Error` is throwed. You can use `parser.line` to know the line number. +In case of a parsing error an `hscript.Expr.Error` is thrown. You can use `parser.line` to know the line number. You can set some globaly accessible identifiers by using `interp.variables.set("name",value)` @@ -30,4 +30,4 @@ You can use `parser.allowJSON` to allow JSON data. You can use `parser.allowTypes` to parse types for local vars, exceptions, function args and return types. Types are ignored by the interpreter. -You can use `new hscript.Macro(pos).convert(ast)` to convert an hscript AST to a Haxe macros one. \ No newline at end of file +You can use `new hscript.Macro(pos).convert(ast)` to convert an hscript AST to a Haxe macros one.