Skip to content

Parsing csharp files does not recognize the language #297

@dpordomingo

Description

@dpordomingo

discovered at https://github.com/src-d/empathy-sessions/issues/37#issuecomment-470045137

Running parse over a .cs file is not working

$ srcd parse uast examples/example.cs
INFO[0000] detected language: c#                        
Error: language c# is not supported
Usage:
  srcd parse uast [file-path] [flags]
...

Workaround

Until this is fixed, csharp needs to be passed explicitly to bblfshd. For example:

srcd parse uast csharp.cs --lang csharp

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingempathy-sessionsIssue filed as as part of empathy sessions

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions