Skip to content

Commit b467b7a

Browse files
committed
glayzzle#41 rename node type as variadic
1 parent 981e08d commit b467b7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/parser/function.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ module.exports = {
169169
*/
170170
,read_argument_list: function() {
171171
if (this.token === this.tok.T_ELLIPSIS ) {
172-
return this.node('...')(this.next().read_expr());
172+
return this.node('variadic')(this.next().read_expr());
173173
}
174174
return this.read_expr();
175175
}

0 commit comments

Comments
 (0)