diff options
author | Harmen Stoppels <me@harmenstoppels.nl> | 2023-11-01 09:08:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-01 09:08:57 +0100 |
commit | ac976a4bf42d475328f26f34e70bf1317fc0bdec (patch) | |
tree | 673e83ccf0189ea9ff012b06164bbf91be6b7363 /var | |
parent | e5f3ffc04fb7a1fea237226210b0cafc9246d0f2 (diff) | |
download | spack-ac976a4bf42d475328f26f34e70bf1317fc0bdec.tar.gz spack-ac976a4bf42d475328f26f34e70bf1317fc0bdec.tar.bz2 spack-ac976a4bf42d475328f26f34e70bf1317fc0bdec.tar.xz spack-ac976a4bf42d475328f26f34e70bf1317fc0bdec.zip |
Parser: fix ambiguity with whitespace in version ranges (#40344)
Allowing white space around `:` in version ranges introduces an ambiguity:
```
a@1: b
```
parses as `a@1:b` but should really be parsed as two separate specs `a@1:` and `b`.
With white space disallowed around `:` in ranges, the ambiguity is resolved.
Diffstat (limited to 'var')
0 files changed, 0 insertions, 0 deletions