Readme typo fix
This commit is contained in:
@@ -13,7 +13,7 @@ var interp = new hscript.Interp();
|
||||
trace(interp.execute(ast));
|
||||
</pre>
|
||||
|
||||
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.
|
||||
You can use `new hscript.Macro(pos).convert(ast)` to convert an hscript AST to a Haxe macros one.
|
||||
|
||||
Reference in New Issue
Block a user