diff options
author | Mihai Bazon <mihai@bazon.net> | 2012-09-03 12:11:44 +0300 |
---|---|---|
committer | Mihai Bazon <mihai@bazon.net> | 2012-09-03 12:11:44 +0300 |
commit | 6d0db4ce14fd67681bdda1d1861517763eff4c6e (patch) | |
tree | eae00c1f5d5408888e9dfd3b61798b040f0d091a /lib/parse.js | |
parent | d7c1dc6c0578b55eefc3bc94556146dce6e1a8cb (diff) | |
download | tracifyjs-6d0db4ce14fd67681bdda1d1861517763eff4c6e.tar.gz tracifyjs-6d0db4ce14fd67681bdda1d1861517763eff4c6e.zip |
an AST_If is too a StatementWithBody
Diffstat (limited to 'lib/parse.js')
-rw-r--r-- | lib/parse.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/parse.js b/lib/parse.js index 9c3f3fb1..2eec3356 100644 --- a/lib/parse.js +++ b/lib/parse.js @@ -999,7 +999,7 @@ function parse($TEXT, exigent_mode) { } return new AST_If({ condition : cond, - consequent : body, + body : body, alternative : belse }); }; |