Spec parser issue with binding name containing numeric char
Closed this issue · 1 comments
aagahi commented
With universe:
"component_types": [
{
"name" : "kyriba-front-1.0",
"provide" : [["@kyriba-front-1", ["FiniteProvide", 1]]],
"require" : [["@kyriba-back-B", 1]],
"consume" : [["ram", 512]]
}
]
And specification:
(#@kyriba-front-1 > 4)
I get:
Fatal error: exception Specification_parser.Error
If I use @kyriba-front-A instead of @kyriba-front-1 it works.
If I use @kyriba-front-1A instead of @kyriba-front-1 it fails.
(base on version c4e9756 - nov the 4th)
jakub-zwolakowski commented
I've corrected the specification lexer, digits in names should work all right now :)