MarkOates / blast

0 stars 0 forks source link

Some dependency symbols use wildcard characters #25

Open MarkOates opened 2 years ago

MarkOates commented 2 years ago

It's been a bit of a convention to use wildcard characters in some cases for dependencies. For example, Foo::Bar::* would represent that some constants in Foo::Bar:: are used, and it's easier to notate it like this rather than list out each one.

However, now that * characters are removed during dependency atomization, that character disappears and Foo::Bar:: is listed as the atomic dependency. This leads to a parse error in YAML where it thinks it's a name of a property (like name: or something).

For example:

dependencies:

  - symbol: 'Foo::Bar::'
    headers: [ Foo/Bar.hpp ]

It seems there could be a simpler solution, though.