aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/parse.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/parse.js b/lib/parse.js
index 1a3895d9..b061067e 100644
--- a/lib/parse.js
+++ b/lib/parse.js
@@ -1381,7 +1381,7 @@ function parse($TEXT, options) {
condition : expr,
consequent : yes,
alternative : expression(false, no_in),
- end : peek()
+ end : prev()
});
}
return expr;