2024-05-03 15:49:27 +00:00
|
|
|
BEGIN {
|
|
|
|
##ERROR: unexpected end of input
|
|
|
|
---
|
|
|
|
|
2024-05-05 05:13:46 +00:00
|
|
|
function abc(x { ##ERROR: comma expected in place of '{'
|
|
|
|
}
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
function abc (x, ...,) { ##ERROR: right parenthesis expected in place of ','
|
|
|
|
}
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
function abc (x, ..., a) { ##ERROR: right parenthesis expected in place of ','
|
|
|
|
}
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
function abc (... ...) { ##ERROR: right parenthesis expected in place of '...'
|
2024-05-03 15:49:27 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
BEGIN {
|
|
|
|
@argv = 10 ##ERROR: invalid assignment statement
|
|
|
|
}
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
BEGIN {
|
|
|
|
@argc = 10 ##ERROR: invalid assignment statement
|
|
|
|
}
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
BEGIN {
|
|
|
|
@nil = 10 ##ERROR: invalid assignment statement
|
|
|
|
}
|