updated the parser to require a colone after a key for @{}
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -37,3 +37,10 @@ BEGIN {
|
||||
BEGIN {
|
||||
@nil = 10 ##ERROR: invalid assignment statement
|
||||
}
|
||||
|
||||
---
|
||||
|
||||
BEGIN {
|
||||
@{};
|
||||
@{ "hello", "world } ##ERROR: colon expected in place of ','
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user