Fixed: argument_list should not be transcient.
This caused errors in single-parameter function calls when expressions had more than a single term.
This commit is contained in:
parent
7da7b611e0
commit
fcff623c29
1 changed files with 1 additions and 2 deletions
|
@ -54,7 +54,6 @@ namespace arookas {
|
||||||
case __sunConstants.AUGMENT_OPERATOR:
|
case __sunConstants.AUGMENT_OPERATOR:
|
||||||
case __sunConstants.TERM:
|
case __sunConstants.TERM:
|
||||||
case __sunConstants.PARAMETER:
|
case __sunConstants.PARAMETER:
|
||||||
case __sunConstants.ARGUMENT_LIST:
|
|
||||||
case __sunConstants.ARGUMENT: {
|
case __sunConstants.ARGUMENT: {
|
||||||
return ast[0];
|
return ast[0];
|
||||||
}
|
}
|
||||||
|
@ -252,7 +251,7 @@ namespace arookas {
|
||||||
case __sunConstants.SEMICOLON:
|
case __sunConstants.SEMICOLON:
|
||||||
case __sunConstants.COMMA:
|
case __sunConstants.COMMA:
|
||||||
case __sunConstants.DOT:
|
case __sunConstants.DOT:
|
||||||
// case __sunConstants.ELLIPSIS: // do not exclude ellipsis for variadic parameters
|
case __sunConstants.ELLIPSIS:
|
||||||
case __sunConstants.QMARK: {
|
case __sunConstants.QMARK: {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue