diff options
author | Mihai Bazon <mihai@bazon.net> | 2014-01-21 10:38:59 +0200 |
---|---|---|
committer | Mihai Bazon <mihai@bazon.net> | 2014-01-21 10:38:59 +0200 |
commit | 1d0127de2134f2086e1de51d47782118470397ed (patch) | |
tree | 6f3ee6d4f59f0f87e9a4e398e9c473fb40fc63b0 | |
parent | 2d8fc616773e30df955de02d99406f114b87490a (diff) | |
download | tracifyjs-1d0127de2134f2086e1de51d47782118470397ed.tar.gz tracifyjs-1d0127de2134f2086e1de51d47782118470397ed.zip |
Fix end token for conditionals. Close #404
-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 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; |