Home Download Buy Blog Forum Support

Reindent bug

Reindent bug

Postby Loge on Tue Jun 18, 2013 3:22 pm

First noticed this while working in PHP, but here's the same reindent bug in C. Note the mis-aligned second-to-last brace; it doesn't look so bad on it's own but if declared inside a class it derails the rest of the file's indentation.

Code: Select all
#include <stdio.h>
#include <stdlib.h>

int main(int argc, char** argv) {
    if ("test" == "test" ||
        "another" == "other") {
        printf("Test passed.\n");
Posts: 1
Joined: Tue Jun 18, 2013 3:12 pm

Return to Ideas and Feature Requests

Who is online

Users browsing this forum: Yahoo [Bot] and 4 guests