Skip to content
Snippets Groups Projects
Commit 34a7a1f5 authored by Dominik Seeger's avatar Dominik Seeger
Browse files

fixed incorrect syntax highlighting for block comments

Tested with the following piece of code which should hava all edge cases. Works fine :

// should not be commented out
char c = '/*';
String s = "/* some stupid stuff */";

long test(REPLACED k){ /* only this should be commented out */
    if(REPLACED)
        return REPLACED;
    if(REPLACED)
        return REPLACED;
    /* this should be commented out
    if(REPLACED){
        if(REPLACED)
            return REPLACED;
        if(REPLACED)
            return (REPLACED);
    }
   */ this should not
    return 0;
}
parent 0f12bd6e
No related branches found
No related tags found
No related merge requests found
Pipeline #90775 passed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment