Skip to content
Snippets Groups Projects
Commit 94f0c460 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 49c1014b
No related branches found
No related tags found
1 merge request!147Resolve "Incorrect syntax highlighting for block comments"
Pipeline #91409 passed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment