hint that brackets may be required in AST_BlockStatement

This commit is contained in:
Mihai Bazon
2012-08-21 16:27:57 +03:00
parent ffe58a9961
commit 1b839eb35b
4 changed files with 16 additions and 18 deletions

View File

@@ -86,7 +86,7 @@ var AST_SimpleStatement = DEFNODE("SimpleStatement", null, {
$documentation: "A statement consisting of an expression, i.e. a = 1 + 2."
}, AST_Statement);
var AST_BlockStatement = DEFNODE("BlockStatement", null, {
var AST_BlockStatement = DEFNODE("BlockStatement", "required", {
$documentation: "A block statement.",
_walk: function(visitor) {
return visitor._visit(this, function(){