Skip to content

Commit 667bc2f

Browse files
yay decls work sanely now
1 parent 9ade49c commit 667bc2f

File tree

3 files changed

+214
-76
lines changed

3 files changed

+214
-76
lines changed

lib/expr.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,9 @@ module.exports = function(incoming_state, incoming_tokens) {
116116
result.parent = state[0]
117117
emit(result)
118118

119-
if(idx < tokens.length) throw new Error('did not use all tokens')
119+
if(idx < tokens.length) {
120+
throw new Error('did not use all tokens')
121+
}
120122

121123
result.parent.children = [result]
122124

0 commit comments

Comments
 (0)