Skip to content

Replace dash with underscore for generated D files? #39

@AndrejMitrovic

Description

@AndrejMitrovic

One of the upstream dependencies I'm targeting uses a file named kafka-egress.proto, this generates a D file named kafka-egress.d with a module declaration module kafka-egress.d.

This won't compile in D as - is not valid in a module declaration.

I could rename the upstream file, but I'd rather not taint the sources.

Could protobuf-d be fixed to replace - with an underscore _ in both the generated filename and the module declaration?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions