miker2 / flexi_config_reader

A flexible configuration format that supports templated tables and referencing of existing keys.
MIT License
3 stars 1 forks source link

struct naming does not support capital alphabetical characters #94

Closed kyle-figure closed 1 year ago

kyle-figure commented 1 year ago

The following struct causes a parsing error:

struct A {
  x = 0
}
miker2 commented 1 year ago

Technically, it does, but a struct can't start with a capital letter.

a valid key must follow the following regex: [a-z][a-zA-Z0-9_]+