Fix end token for conditionals. Close #404
This commit is contained in:
parent
2d8fc61677
commit
1d0127de21
|
|
@ -1381,7 +1381,7 @@ function parse($TEXT, options) {
|
|||
condition : expr,
|
||||
consequent : yes,
|
||||
alternative : expression(false, no_in),
|
||||
end : peek()
|
||||
end : prev()
|
||||
});
|
||||
}
|
||||
return expr;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user