aboutsummaryrefslogtreecommitdiff
path: root/src/cljcc/parser.clj
diff options
context:
space:
mode:
Diffstat (limited to 'src/cljcc/parser.clj')
-rw-r--r--src/cljcc/parser.clj5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/cljcc/parser.clj b/src/cljcc/parser.clj
index 0aec1dc..6525c24 100644
--- a/src/cljcc/parser.clj
+++ b/src/cljcc/parser.clj
@@ -113,10 +113,7 @@
(defn if-statement-node
([cond then]
- {:type :statement
- :statement-type :if
- :condition cond
- :then-statement then})
+ (if-statement-node cond then nil))
([cond then else]
{:type :statement
:statement-type :if