[prev in list] [next in list] [prev in thread] [next in thread]
List: kdevelop-bugs
Subject: [Bug 92047] New: Comma should not follow namespace closing brace;
From: kdevelop-bugs-admin () barney ! cs ! uni-potsdam ! de
Date: 2004-10-25 4:30:40
Message-ID: 20041025063039.92047.hattons () globalsymmetry ! com
[Download RAW message or body]
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=92047
Summary: Comma should not follow namespace closing brace;
Product: kdevelop
Version: unspecified
Platform: unspecified
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: cppsupport
AssignedTo: kdevelop-bugs kdevelop org
ReportedBy: hattons globalsymmetry com
Version: 3.1.0 (using KDE 3.3.1, SuSE)
Compiler: gcc version 3.3.3 (SuSE Linux)
OS: Linux (i686) release 2.6.5-7.111-default
Though syntactically not incorrect, the comma following a namespace closing brace \
makes the code difficult to read. This is especially true when namespaces are \
nested, and the classes are large. If only the class has a trailing comma, then we \
can look at the end of a file and determine that the following signifies the end of a \
class definition followed by the end of three namespace blocks: } //end of a \
function definition }; // end of a class
} // end of a namespace
} // end of a namespace
} // end of a namespace
compared to:
}
}; // is this a function with a superfluous ';'?, etc.
};
};
};
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic