Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[C++] Syntax highligting issue: initialisation lists #49

Open
DanielJamesCollier opened this issue Feb 5, 2017 · 0 comments
Open

[C++] Syntax highligting issue: initialisation lists #49

DanielJamesCollier opened this issue Feb 5, 2017 · 0 comments

Comments

@DanielJamesCollier
Copy link

struct test {

    test(int x, int d, std::string dave) :
        _x(x),
        _d(d),
        _dave(dave)
    {

    }

    int _x;
    int _d;
    std::string _dave;
};

struct test2 {

    test2(int x, int d, std::string dave) :
        _x(x)
    ,   _d(d)
    ,   _dave(dave)
    {

    }

    int _x;
    int _d;
    std::string _dave;
};

I believe that github uses this repository for its syntax highlighter. Looking above, both pieces of code are the same but show different highlighting. test2 is the broken highlighted version

@DanielJamesCollier DanielJamesCollier changed the title Syntax highligting issue: initialisation lists [C++] Syntax highligting issue: initialisation lists Feb 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant