internal/cuetxtar: require commas between pos= specs
Commas between position specs in pos=[...] are now required.
Previously they were optional separators (whitespace worked too);
now pos=[0:5, 1:13] is the only accepted form. This simplifies
parsePosSpecs and write-back uses ", " consistently.
Update TestParsePosSpecs: space-only multi-spec input is now an error.
Update all txtar pos= annotations to use comma-separated form.
We also adjust the error message in case of extra positions
to inform the user that this can be okay, but that we need
to verify this.
Signed-off-by: Marcel van Lohuizen <mpvl@gmail.com>
Change-Id: I3aaa3d47dad01fd3e32b5daa96e0f9620ff5fb0e
Reviewed-on: https://cue.gerrithub.io/c/cue-lang/cue/+/1234942
Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com>
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>