Bug #2579
Unable to use numbers or uppercase letters in variable names
Status: | Resolved | Start date: | 06/22/2016 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 100% | |
Category: | - | |||
Target version: | 0.6 |
Description
Adding the following to the setuptools template
"python2.version": "2.7", "python2.binary": "python${python2.version}", "python3.version": "3.2", "python3.binary": "python${python3.version}", "python.version": "${python2.version}", "python.binary": "python${python.version}"
leads to this errors
Same happens for letters:
"pythonA.version": "2.7", "pythonA.binary": "python${pythonA.version}", "pythonB.version": "3.2", "pythonB.binary": "python${pythonB.version}", "python.version": "${pythonA.version}", "python.binary": "python${python.version}"
leads to this
Associated revisions
Fixed handling of variable name case/digits in src/project/json.lisp
fixes #2579
- src/project/json.lisp (load-template/json-1): use `%decode-json-from-source'
(load-project-spec/json-1): likewise
(load-distribution-spec/json-1): likewise
(%decode-json-from-source): new function; like
`decode-json-from-source' but do not de-camel-casize variable names
History
#1 Updated by J. Moringen about 8 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Applied in changeset 3c837047ded3f6e02ed35d74263a80fb461f7c90.
#2 Updated by J. Moringen almost 8 years ago
- Target version set to 0.6