| Summary: | Source formatter messes up literal strings | ||
|---|---|---|---|
| Product: | [Applications] kdevelop | Reporter: | Gunther Piez <gpiez> |
| Component: | Astyle | Assignee: | kdevelop-bugs-null |
| Status: | RESOLVED NOT A BUG | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | 3.2.1 | ||
| Target Milestone: | --- | ||
| Platform: | Gentoo Packages | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
*** Bug 114687 has been marked as a duplicate of this bug. *** Still happens in 3.4-RC2 This is an astyle bug. Surprisingly didn't have this logged with upstream. Now logged as 1746419 http://sourceforge.net/tracker/index.php?func=detail&atid=102319&aid=1746419&group_id=2319 closing as invalid as its an astyle bug. |
Version: 3.2.1 (using KDE KDE 3.4.1) Installed from: Gentoo Packages Compiler: 3.4.3 OS: Linux Literal strings which continue over more than one line get "formatted". Example: void blah() { printf("\ left aligned line1\n\ left aligned line2\n" ); } becomes void blah() { printf("\ left aligned line1\n\ left aligned line2\n" ); } Admittedly, this looks more appealing, but the content of the string has changed, and so this compiles to a different program. IMHO, a Source Formatter must never change the program, only the source.