Skip to content

Commit

Permalink
FIXME grammar: note for review circa Label call label
Browse files Browse the repository at this point in the history
  • Loading branch information
jcorbin committed Mar 2, 2021
1 parent 9f32d60 commit dc667df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grammar.js
Original file line number Diff line number Diff line change
Expand Up @@ -690,7 +690,7 @@ class Label {
}
} else if (head === 'call') {
const [label, ...args] = tail;
const labelScope = scope.label(label[1]);
const labelScope = scope.label(label[1]); // XXX why the [1]?
const node = labelScope.create('def', null, scanner.position());
const params = [];
for (const arg of args) {
Expand Down

0 comments on commit dc667df

Please sign in to comment.