aboutsummaryrefslogtreecommitdiff
path: root/lib/ast.js
diff options
context:
space:
mode:
authorMihai Bazon <mihai@bazon.net>2012-08-21 16:27:57 +0300
committerMihai Bazon <mihai@bazon.net>2012-08-21 19:16:05 +0300
commit1b839eb35bfb7cb28c59ee80bd88e395f33711ca (patch)
tree6dd8842a2a47e6b2beaf83154e6a5a640d3eb600 /lib/ast.js
parentffe58a9961ced012b40c16b93f9fe2370293431b (diff)
downloadtracifyjs-1b839eb35bfb7cb28c59ee80bd88e395f33711ca.tar.gz
tracifyjs-1b839eb35bfb7cb28c59ee80bd88e395f33711ca.zip
hint that brackets may be required in AST_BlockStatement
Diffstat (limited to 'lib/ast.js')
-rw-r--r--lib/ast.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ast.js b/lib/ast.js
index 1b75bd64..3fd197e8 100644
--- a/lib/ast.js
+++ b/lib/ast.js
@@ -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(){