Skip to content
Snippets Groups Projects
  • Dominik Seeger's avatar
    94f0c460
    fixed incorrect syntax highlighting for block comments · 94f0c460
    Dominik Seeger authored
    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;
    }
    94f0c460
    History
    fixed incorrect syntax highlighting for block comments
    Dominik Seeger authored
    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;
    }