KCL parser: allow comments in multi-line arrays (#3539)

KCL parser: allow noncode (e.g. comments) in arrays

Part of #1528
This commit is contained in:
Adam Chalmers
2024-08-21 09:54:15 -05:00
committed by GitHub
parent 925f5cc2c2
commit 682590deea
6 changed files with 528 additions and 38 deletions

View File

@ -563,6 +563,7 @@ export function createArrayExpression(
start: 0,
end: 0,
digest: null,
nonCodeMeta: { nonCodeNodes: {}, start: [], digest: null },
elements,
}
}